2 // Copyright 2006-2009 Daniel James.
3 // Distributed under the Boost Software License, Version 1.0. (See accompanying
4 // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
6 #include "./config.hpp"
8 // Simple test to make sure BOOST_HASH_NO_EXTENSIONS does disable extensions
9 // (or at least one of them).
10 #if !defined(BOOST_HASH_NO_EXTENSIONS)
11 # define BOOST_HASH_NO_EXTENSIONS
14 #ifdef BOOST_HASH_TEST_STD_INCLUDES
15 # include <functional>
17 # include <boost/functional/hash.hpp>
20 template <class T> void ignore(T const&) {}
24 BOOST_HASH_TEST_NAMESPACE::hash< int[10] > hasher;