r/cpp • u/User_Deprecated • Aug 26 '26
C++26: std::inplace_vector
https://www.sandordargo.com/blog/2026/08/26/cpp26-inplace-vector
180
Upvotes
r/cpp • u/User_Deprecated • Aug 26 '26
View all comments
Show parent comment
3
u/Ameisen vemips, avr, rendering, systems Aug 27 '26
I won't lie - I prefer how C# would handle this: returning a
booland having anoutparameter or such.I find an actual
ifto be easier to read than.or_else(...)....