MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/1xxfw9i/cppanditsvectorbooleans/19spxlumnagf7/
r/ProgrammerHumor • u/Recent-Analysis-6880 • 11d ago
214 comments sorted by
View all comments
4
people just hating because they dont understand cpp...not gonna say why, because you dont deserve it if you dont know it
25 u/Aurii_ 11d ago You don't answer it because you yourself have no idea 8 u/ezrae_ 11d ago 6 u/-Ambriae- 11d ago Please explain in what world is implicitly converting a vector<bool> to a bitset normal? 2 u/ih-shah-may-ehl 8d ago There are plenty of things the CPP committee itself had brutal fights over and eventually stripped back out. Stop kissing ass. 3 u/om_nama_shiva_31 11d ago Cringe 2 u/Droggl 11d ago Its not that people don't see why the bit vector implementation can be useful, but its really not unreasonable to see "vector<bool>" and expect the type to be a vector and store bools (it does neither though)
25
You don't answer it because you yourself have no idea
8
6
Please explain in what world is implicitly converting a vector<bool> to a bitset normal?
2
There are plenty of things the CPP committee itself had brutal fights over and eventually stripped back out. Stop kissing ass.
3
Cringe
Its not that people don't see why the bit vector implementation can be useful, but its really not unreasonable to see "vector<bool>" and expect the type to be a vector and store bools (it does neither though)
View all comments
4
u/Buyer_North 11d ago
people just hating because they dont understand cpp...not gonna say why, because you dont deserve it if you dont know it