]>
git.proxmox.com Git - ceph.git/blob - ceph/src/boost/libs/unordered/test/unordered/link_test_2.cpp
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 "../helpers/prefix.hpp"
7 #include <boost/unordered_set.hpp>
8 #include <boost/unordered_map.hpp>
9 #include "../helpers/postfix.hpp"
11 void foo(boost::unordered_set
<int>& x1
,
12 boost::unordered_map
<int, int>& x2
,
13 boost::unordered_multiset
<int>& x3
,
14 boost::unordered_multimap
<int, int>& x4
)
16 #if BOOST_WORKAROUND(__CODEGEARC__, BOOST_TESTED_AT(0x0613))
18 boost::unordered_set
<int> x1
;
19 boost::unordered_map
<int, int> x2
;
20 boost::unordered_multiset
<int> x3
;
21 boost::unordered_multimap
<int, int> x4
;
28 x4
.insert(std::make_pair(4, 5));