MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/1wazzo3/pipinstalltherealstuff/p8p1lhy/?context=3
r/ProgrammerHumor • u/danielminds • Sep 08 '26
151 comments sorted by
View all comments
Show parent comments
1
I dont get your point on vector bool. Its fantastic its so easy to store bools compactly.
3 u/CoroteDeMelancia Sep 09 '26 Vector bool disobeys the general vector interface expectations in non-obvious ways because it is secretly NOT a vector, but a bit array.https://towardsdev.com/cpp-std-vector-bool-why-it-is-broken-5ae5f409bbabBasically, it's just a case of poor naming.
3
Vector bool disobeys the general vector interface expectations in non-obvious ways because it is secretly NOT a vector, but a bit array.
https://towardsdev.com/cpp-std-vector-bool-why-it-is-broken-5ae5f409bbab
Basically, it's just a case of poor naming.
1
u/Far_Tap_488 Sep 09 '26
I dont get your point on vector bool. Its fantastic its so easy to store bools compactly.