C++11 has implemented data()
member function on std::vector
, which gives you a pointer to the memory array. Does this mean the template specialization std::vector<bool>
have this member as well? Since this specialization doesn't store the data in terms of bool *
, what kind of behavior can you expect from calling data()
?