mirror of
https://github.com/boostorg/container_hash.git
synced 2026-02-01 20:32:20 +00:00
Boster.Test which makes it easier to switch to take advantage of Boost.Test's extra testing facilities. Merged revisions 44420 via svnmerge from https://svn.boost.org/svn/boost/branches/unordered/trunk ........ r44420 | danieljames | 2008-04-14 19:02:03 +0100 (Mon, 14 Apr 2008) | 1 line Use Boost.Test's minimal test library. ........ [SVN r44487]
27 lines
829 B
C++
27 lines
829 B
C++
|
|
// Copyright 2007-2008 Daniel James.
|
|
// Distributed under the Boost Software License, Version 1.0. (See accompanying
|
|
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
|
|
|
// All these headers are meant output a warning, but not cause the compilation
|
|
// to fail.
|
|
|
|
#include <boost/functional/hash/deque.hpp>
|
|
#include <boost/functional/hash/list.hpp>
|
|
#include <boost/functional/hash/map.hpp>
|
|
#include <boost/functional/hash/pair.hpp>
|
|
#include <boost/functional/hash/set.hpp>
|
|
#include <boost/functional/hash/vector.hpp>
|
|
|
|
// And a quick check that the hash library was included.
|
|
// Strictly speaking I should do this once for each header
|
|
// but that would just be wasting the testing resources.
|
|
|
|
#include <vector>
|
|
|
|
int main(int, char**) {
|
|
std::vector<int> v;
|
|
boost::hash<std::vector<int> > x;
|
|
x(v);
|
|
}
|