Timeline for c++11 emplace_back and push_back syntax with struct
Current License: CC BY-SA 3.0
8 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jun 20, 2020 at 9:12 | history | edited | CommunityBot |
Commonmark migration
|
|
May 23, 2017 at 12:09 | history | edited | URL Rewriter Bot |
replaced http://stackoverflow.com/ with https://stackoverflow.com/
|
|
Jul 28, 2014 at 1:59 | comment | added | Mark Garcia | @PowerGamer That is, if the aggregate is default constructible. But yes, that's a great point for your to add. (I haven't really realized it until now that you've pointed it out, thanks for that) | |
Jul 26, 2014 at 11:50 | comment | added | PowerGamer | I'd disagree with your "can't insert an aggregate without copying" statement in last paragraph of your answer. You can always do the following: v.emplace_back(); v.back().foo = 41; v.back().bar = 42; | |
Jan 4, 2014 at 4:15 | vote | accept | stewart99 | ||
Dec 16, 2013 at 5:15 | history | edited | Mark Garcia | CC BY-SA 3.0 |
added 5 characters in body
|
Dec 16, 2013 at 5:03 | history | edited | Mark Garcia | CC BY-SA 3.0 |
added 443 characters in body
|
Dec 16, 2013 at 4:57 | history | answered | Mark Garcia | CC BY-SA 3.0 |