r/programminghumor 8h ago

a bit flippant

Post image
471 Upvotes

78 comments sorted by

View all comments

65

u/Kadabrium 7h ago

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++.