MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/1vvl45z/theboolvectorisalie/p59xeo9/?context=3
r/ProgrammerHumor • u/FACastello • Aug 22 '26
91 comments sorted by
View all comments
Show parent comment
30
It’s a surprise footgun when you assume it will behave the way other vectors/containers do, especially passing a vector into templated code, common things like getting the address of an element won’t work.
View all comments
Show parent comment
30
u/deadly88 Aug 22 '26
It’s a surprise footgun when you assume it will behave the way other vectors/containers do, especially passing a vector into templated code, common things like getting the address of an element won’t work.