Skip to content

How can I json::get<std::shared_ptr<const T>>? #2580

Answered by UndarkAido
UndarkAido asked this question in Q&A
Discussion options

You must be logged in to vote

The std::shared_ptr<const T> synthesizer is not needed.

In the from_json methods of both std::shared_ptr sythesizers the json parameter wasn't static.

Boy do I feel silly.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@gregmarr
Comment options

@UndarkAido
Comment options

Answer selected by UndarkAido
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants