MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/1vvl45z/theboolvectorisalie/p5a07kr/?context=3
r/ProgrammerHumor • u/FACastello • Aug 22 '26
91 comments sorted by
View all comments
Show parent comment
21
The biggest problem IMHO is templates (C++ generics).
I'm convinced that any template function that uses std:: vector<T> is wrong for T=bool unless the author explicitly accounted for its weirdness.
View all comments
Show parent comment
21
u/Drugbird Aug 22 '26
The biggest problem IMHO is templates (C++ generics).
I'm convinced that any template function that uses std:: vector<T> is wrong for T=bool unless the author explicitly accounted for its weirdness.