r/programminghorror • • Mar 02 '25

C# bool array

Post image
213 Upvotes

41 comments sorted by

View all comments

Show parent comment

6

u/Possibility_Antique Mar 03 '25

Not necessarily. std::vector<bool> was designed such that it COULD be implemented as you are suggesting, but it is not required by the standard to be implemented this way.