r/ProgrammerHumor • • 10d ago

Meme cppAndItsVectorBooleans

Post image
3.4k Upvotes

214 comments sorted by

View all comments

Show parent comment

9

u/setibeings 10d ago

alright, then we need to replace vector with a type that doesn't randomly do something different when it holds bools in particular. lol.

2

u/danielcw189 10d ago

and also give it a name that isn't misleading like "vector"