| 1 | // Copyright 2006-2009 Daniel James. |
|---|---|
| 2 | // Copyright 2021 Peter Dimov. |
| 3 | // Distributed under the Boost Software License, Version 1.0. |
| 4 | // https://www.boost.org/LICENSE_1_0.txt) |
| 5 | |
| 6 | #include <boost/container_hash/hash.hpp> |
| 7 | #include <deque> |
| 8 | |
| 9 | int main() |
| 10 | { |
| 11 | std::deque<int> x; |
| 12 | |
| 13 | x.push_back( x: 1 ); |
| 14 | x.push_back( x: 2 ); |
| 15 | |
| 16 | return boost::hash< std::deque<int> >()( x ) == boost::hash_value( v: x )? 0: 1; |
| 17 | } |
| 18 |
