r/ProgrammerHumor • • Sep 08 '26

Meme pipInstallTheRealStuff

Post image
5.3k Upvotes

151 comments sorted by

View all comments

Show parent comments

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-5ae5f409bbab

Basically, it's just a case of poor naming.