forked from boostorg/functional
Hash: Merge deprecated header warning + some documentation.
[SVN r78697]
This commit is contained in:
@@ -50,6 +50,7 @@ test-suite functional/hash
|
||||
[ compile-fail implicit_fail_test.cpp : <define>BOOST_HASH_NO_IMPLICIT_CASTS ]
|
||||
[ run hash_no_ext_macro_1.cpp : : : <define>BOOST_HASH_NO_IMPLICIT_CASTS ]
|
||||
[ run hash_no_ext_macro_2.cpp : : : <define>BOOST_HASH_NO_IMPLICIT_CASTS ]
|
||||
[ compile deprecated_container_fwd.cpp ]
|
||||
;
|
||||
|
||||
test-suite functional/hash_implicit_casts
|
||||
|
||||
@@ -0,0 +1,14 @@
|
||||
|
||||
// Copyright 2012 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)
|
||||
|
||||
#include <boost/functional/detail/container_fwd.hpp>
|
||||
|
||||
typedef std::vector<int, std::allocator<int> > int_vector;
|
||||
|
||||
#include <vector>
|
||||
|
||||
int main() {
|
||||
int_vector x;
|
||||
}
|
||||
Reference in New Issue
Block a user