3 ms·
You're doing the right thing. But it might be interesting to note that since C++20, emplace_back can also (kinda-sorta) involve aggregate initialization: https
by quuxplusone 2y ago
You're doing the right thing.
But it might be interesting to note that since C++20, emplace_back can also (kinda-sorta) involve aggregate initialization:
https://quuxplusone.github.io/blog/2022/06/03/aggregate-parens-init-considered-kinda-bad/ https://quuxplusone.github.io/blog/2022/06/03/aggregate-pare...
- bun_terminator 2y agoI meant designated init in hindsight