2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-07-13 08:05:52 +00:00
Lioncash 15e856404d rstl: Return reference to emplaced element in emplace_back()
Follows the behavior of the C++17 variant of emplace_back, which returns
a reference to the emplaced element.

This allows eliminating cases like:

container.emplace_back(some, things, arguments);
container.back().blah();

... // subsequent modifications to the element

given we can just retrieve the reference from the emplace_back call.
2019-10-19 02:05:09 -04:00
..
2019-09-09 04:21:01 -07:00
2018-12-07 19:30:43 -10:00
2018-12-07 19:30:43 -10:00
2018-12-07 19:30:43 -10:00
2019-07-19 18:27:21 -10:00
2018-12-07 19:30:43 -10:00
2019-09-30 21:38:03 -10:00
2019-09-30 21:38:03 -10:00
2019-09-30 21:38:03 -10:00
2019-02-17 19:47:46 -10:00
2018-12-07 19:30:43 -10:00
2018-12-07 19:30:43 -10:00
2019-10-05 07:07:13 -07:00
2019-09-21 06:10:54 -07:00
2018-12-07 19:30:43 -10:00
2019-09-30 21:38:03 -10:00
2019-10-01 06:41:55 -07:00
2018-12-07 19:30:43 -10:00
2018-12-07 19:30:43 -10:00
2018-12-07 19:30:43 -10:00
2018-12-07 19:30:43 -10:00
2018-12-07 19:30:43 -10:00
2018-12-07 19:30:43 -10:00
2019-07-19 18:27:21 -10:00
2018-12-07 19:30:43 -10:00
2018-12-07 19:30:43 -10:00
2019-07-19 18:27:21 -10:00