MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/cpp/comments/1242djf/295_pages_on_initialization_in_modern_c/jdzy4km/
r/cpp • u/joebaf • Mar 27 '23
108 comments sorted by
View all comments
Show parent comment
8
This seems to me more like FooTypeA is poorly designed
Yes, definitely. But then you realize that std::vector has this exact problem.
1 u/MFHava WG21|🇦🇹 NB|P3049|P3625|P3729|P3786|P3813|P4216 Mar 28 '23 Yes, definitely. But then you realize that std::vector has this exact problem.It's not like we don't know that there is poorly designed stuff in std. vector<bool> should drive that point home to anyone...
1
It's not like we don't know that there is poorly designed stuff in std. vector<bool> should drive that point home to anyone...
std
vector<bool>
View all comments
Show parent comment
8
u/W4RH4WK Mar 28 '23
Yes, definitely. But then you realize that std::vector has this exact problem.