Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: downloads/boost_1_34_1/libs/functional/hash/test/hash_no_ext_fail_test.cpp @ 29

Last change on this file since 29 was 29, checked in by landauf, 16 years ago

updated boost from 1_33_1 to 1_34_1

File size: 542 bytes
Line 
1
2//  Copyright Daniel James 2006. Use, modification, and distribution are
3//  subject to 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)
5
6#define HASH_NAMESPACE boost
7
8// Simple test to make sure BOOST_HASH_NO_EXTENSIONS does disable extensions
9// (or at least one of them).
10#define BOOST_HASH_NO_EXTENSIONS
11
12#include <boost/functional/hash.hpp>
13#include <boost/functional/hash.hpp>
14
15int main()
16{
17    HASH_NAMESPACE::hash< int[10] > hasher;
18    return 0;
19}
Note: See TracBrowser for help on using the repository browser.