We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The NLOHMANN_JSON_SERIALIZE_ENUM macro (more specifically the from_json function defined by it), captures a json argument by value.
from_json
The specific lambda capture I'm talking about is in detail/macro_scope.hpp, line 100.
detail/macro_scope.hpp
This copy can be (micro-)optimized away by capturing by reference instead.
The text was updated successfully, but these errors were encountered:
ddda67a
Note: this was changed in #1821. I messed up my pull request somewhat, so it slipped in accidentally.
Sorry, something went wrong.
No branches or pull requests
The NLOHMANN_JSON_SERIALIZE_ENUM macro (more specifically the
from_json
function defined by it), captures a json argument by value.The specific lambda capture I'm talking about is in
detail/macro_scope.hpp
, line 100.This copy can be (micro-)optimized away by capturing by reference instead.
The text was updated successfully, but these errors were encountered: