boost_container_hash 0.1.0

Boost C++ library boost_container_hash packaged using Zanbil
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// Copyright 2006-2009 Daniel James.
// Copyright 2021 Peter Dimov.
// Distributed under the Boost Software License, Version 1.0.
// https://www.boost.org/LICENSE_1_0.txt)

#include <boost/container_hash/hash.hpp>
#include <deque>

int main()
{
    std::deque<int> x;

    x.push_back( 1 );
    x.push_back( 2 );

    return boost::hash< std::deque<int> >()( x ) == boost::hash_value( x )? 0: 1;
}