Skip to content

using std::move with emplace/push_back #2804

Answered by nlohmann
tawmoto asked this question in Q&A
Discussion options

You must be logged in to vote

Yes, this is fine. Moved-from values will be null.

Replies: 1 comment 2 replies

Comment options

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

@tawmoto
Comment options

Answer selected by nlohmann
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