1 | // |
2 | // Boost.Pointer Container |
3 | // |
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) |
8 | // |
9 | // For more information, see http://www.boost.org/libs/ptr_container/ |
10 | // |
11 | |
12 | #include <boost/ptr_container/ptr_container.hpp> |
13 | |
14 | // force instantiation of all members |
15 | |
16 | template class boost::ptr_array<const int, 42>; |
17 | template class boost::ptr_array<boost::nullable<const int>, 42>; |
18 | |
19 | template class boost::ptr_deque<const int>; |
20 | template class boost::ptr_deque< boost::nullable<const int> >; |
21 | |
22 | template class boost::ptr_list<const int>; |
23 | template class boost::ptr_list< boost::nullable<const int> >; |
24 | |
25 | template class boost::ptr_map<int, const int>; |
26 | template class boost::ptr_map<int, boost::nullable<const int> >; |
27 | |
28 | template class boost::ptr_vector<const int>; |
29 | template class boost::ptr_vector< boost::nullable<const int> >; |
30 | |
31 | //@todo problem with constructor forwarding |
32 | // |
33 | //template class boost::ptr_unordered_map<int,T>; |
34 | |
35 | // @todo: there seems to be some problems with |
36 | // argument passing in circular_buffer |
37 | // |
38 | //boost::ptr_circular_buffer<T> buffer(32); |
39 | //buffer.push_back( new int(42) ); |
40 | |
41 | template class boost::ptr_set<const int>; |
42 | |
43 | // @todo: problem with constructor forwarding |
44 | // |
45 | //template class boost::ptr_unordered_set<T>; |
46 | |