r/ProgrammerHumor • • 12d ago

Meme cppAndItsVectorBooleans

Post image
3.4k Upvotes

214 comments sorted by

View all comments

1

u/Ecstatic-Middle-9564 6d ago

vector<byte> or vector<uint8_t> C and C++ let you use pretty much anything as a boolean.