MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/1xxfw9i/cppanditsvectorbooleans/19spgb9fmaco2/
r/ProgrammerHumor • u/Recent-Analysis-6880 • 10d ago
214 comments sorted by
View all comments
Show parent comment
16
That's the fun part, we already do have std::bitset.
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" 7 u/Ayjayz 10d ago It's fixed size though
9
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"
2
and also give it a name that isn't misleading like "vector"
7
It's fixed size though
View all comments
Show parent comment
16
u/Eearslya 10d ago
That's the fun part, we already do have std::bitset.