W3cubDocs

/C++

std::hash (std::vector<bool>)

template <class Allocator> struct hash<vector<bool, Allocator>>;
(since C++11)

The template specialization of std::hash for std::vector<bool> allows users to obtain hashes of objects of type std::vector<bool>.

Example

See also

(C++11)
hash function object
(class template)

© cppreference.com
Licensed under the Creative Commons Attribution-ShareAlike Unported License v3.0.
http://en.cppreference.com/w/cpp/container/vector_bool/hash