Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a get overload taking a parameter. #1231

Merged
merged 1 commit into from
Sep 29, 2018

Commits on Sep 28, 2018

  1. Add basic_json::get_to function.

    Takes an lvalue reference, and returns the same reference.
    
    This allows non-default constructible types to be converted without
    specializing adl_serializer.
    This overload does not require CopyConstructible either.
    
    Implements nlohmann#1227
    theodelrieu committed Sep 28, 2018
    Configuration menu
    Copy the full SHA
    521fe49 View commit details
    Browse the repository at this point in the history