You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
It's slightly disappointed when I have to write a helper function which allows to determine the type of the lookup at compile time. Describe the solution you'd like
A clear and concise description of what you want to happen.
I wish to be able to call JsonValue::as() as an alternative of JsonValue::asDouble().
Describe alternatives you've considered
I've written a function that uses metaprogramming features to determine the type which is being looked up at compile time. (assumes C++17, but I imagine an implementation is possible, SFINAE?):
Additional context
No additional context is required, I believe. But with focus of the C++ community to work towards better metaprogramming facilities, I think it is in place to add an JsonValue::as<T>() function.
The text was updated successfully, but these errors were encountered:
Uh oh!
There was an error while loading. Please reload this page.
Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
It's slightly disappointed when I have to write a helper function which allows to determine the type of the lookup at compile time.
Describe the solution you'd like
A clear and concise description of what you want to happen.
I wish to be able to call JsonValue::as() as an alternative of JsonValue::asDouble().
Describe alternatives you've considered
I've written a function that uses metaprogramming features to determine the type which is being looked up at compile time. (assumes C++17, but I imagine an implementation is possible, SFINAE?):
Additional context
No additional context is required, I believe. But with focus of the C++ community to work towards better metaprogramming facilities, I think it is in place to add an JsonValue::as<T>() function.
The text was updated successfully, but these errors were encountered: