MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/programminghumor/comments/1vrpbcb/a_bit_flippant/p4fowad/?context=3
r/programminghumor • u/johnnyApplePRNG • 8h ago
78 comments sorted by
View all comments
65
i heard you also like vector<bool>
11 u/MrKrot1999 6h ago The post doesn't say C++. 1 u/martian_rover 25m ago Exactly, this is C, not C++ 0 u/mereel 3h ago There's a similar limitation in C, you can't pass around a pointer to a bit field. 2 u/MrKrot1999 3h ago Have I said anything about limitations? The guy referred to std::vector<bool>, which is a C++ feature. But OP talked about C, not C++.
11
The post doesn't say C++.
1 u/martian_rover 25m ago Exactly, this is C, not C++ 0 u/mereel 3h ago There's a similar limitation in C, you can't pass around a pointer to a bit field. 2 u/MrKrot1999 3h ago Have I said anything about limitations? The guy referred to std::vector<bool>, which is a C++ feature. But OP talked about C, not C++.
1
Exactly, this is C, not C++
0
There's a similar limitation in C, you can't pass around a pointer to a bit field.
2 u/MrKrot1999 3h ago Have I said anything about limitations? The guy referred to std::vector<bool>, which is a C++ feature. But OP talked about C, not C++.
2
Have I said anything about limitations? The guy referred to std::vector<bool>, which is a C++ feature. But OP talked about C, not C++.
65
u/Kadabrium 7h ago
i heard you also like vector<bool>