Skip to content

Are the following initializations supposed to be different? #4096

Answered by gregmarr
LinZhihao-723 asked this question in Q&A
Discussion options

You must be logged in to vote

Yes, A is the proper form. You can even simplify it a bit:

auto A = nlohmann::json::parse(metadata_buffer.begin(), metadata_buffer.end());

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@LinZhihao-723
Comment options

@gregmarr
Comment options

Answer selected by LinZhihao-723
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