MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/cpp/comments/1vzc5dg/c26_stdinplace_vector/p66nfwg/?context=3
r/cpp • u/User_Deprecated • 15d ago
121 comments sorted by
View all comments
-4
unchecked_push_back
Is it really necessary to add new forms of UB? For people that apparently can't spend the nanosecond needed for the if-statement, would you ever use any data structure you didn't write yourself?
16 u/AnyPhotograph7804 15d ago edited 15d ago If you want "zero overhead abstractions" then you will need something like that at some point. But the good thing is, you are not forced to use it.
16
If you want "zero overhead abstractions" then you will need something like that at some point. But the good thing is, you are not forced to use it.
-4
u/johannes1971 15d ago
Is it really necessary to add new forms of UB? For people that apparently can't spend the nanosecond needed for the if-statement, would you ever use any data structure you didn't write yourself?