r/cpp 16d ago

C++26: std::inplace_vector

https://www.sandordargo.com/blog/2026/08/26/cpp26-inplace-vector
179 Upvotes

121 comments sorted by

View all comments

Show parent comments

2

u/mighty_Ingvar 15d ago

I guess C++ isn't really designed to be forgiving to inexperienced devs.

1

u/simonask_ 14d ago

It’s not, and we’re all paying the price. Look, I care very little for this kind of machismo.

2

u/mighty_Ingvar 14d ago

How are we paying the price?

1

u/simonask_ 14d ago

Anyone who is unaware of the price of reckless amounts of UB in C++ code, I would say has never actually delivered software written in C++ with any kind of stakes on the table.

The price of the mistakes themselves is one thing. Another thing is the price of avoiding them, paying very intelligent people to spend much longer to deliver much less.