]>
git.proxmox.com Git - ceph.git/blob - ceph/src/boost/libs/ptr_container/test/const_element_containers.cpp
2 // Boost.Pointer Container
4 // Copyright Thorsten Ottosen 2009. Use, modification and
5 // distribution is subject to the Boost Software License, Version
6 // 1.0. (See accompanying file LICENSE_1_0.txt or copy at
7 // http://www.boost.org/LICENSE_1_0.txt)
9 // For more information, see http://www.boost.org/libs/ptr_container/
12 #include <boost/ptr_container/ptr_container.hpp>
14 // force instantiation of all members
16 template class boost::ptr_array
<const int, 42>;
17 template class boost::ptr_array
<boost::nullable
<const int>, 42>;
19 template class boost::ptr_deque
<const int>;
20 template class boost::ptr_deque
< boost::nullable
<const int> >;
22 template class boost::ptr_list
<const int>;
23 template class boost::ptr_list
< boost::nullable
<const int> >;
25 template class boost::ptr_map
<int, const int>;
26 template class boost::ptr_map
<int, boost::nullable
<const int> >;
28 template class boost::ptr_vector
<const int>;
29 template class boost::ptr_vector
< boost::nullable
<const int> >;
31 //@todo problem with constructor forwarding
33 //template class boost::ptr_unordered_map<int,T>;
35 // @todo: there seems to be some problems with
36 // argument passing in circular_buffer
38 //boost::ptr_circular_buffer<T> buffer(32);
39 //buffer.push_back( new int(42) );
41 template class boost::ptr_set
<const int>;
43 // @todo: problem with constructor forwarding
45 //template class boost::ptr_unordered_set<T>;