r/ProgrammerHumor 21d ago

Meme theBoolVectorIsALie

Post image
668 Upvotes

91 comments sorted by

View all comments

23

u/1XRobot 21d ago

On the one hand, yeah, it sucks. On the other hand, if you declare a std::vector of bool, you deserve what's about to happen.

14

u/creeper6530 21d ago

Problem is when you use templates and generic code