forked from boostorg/container
Use explicit instantiation for iterators defined outside the class in order to detect compilation errors.
[SVN r82815]
This commit is contained in:
@@ -32,6 +32,15 @@ template class boost::container::list<test::movable_and_copyable_int,
|
||||
template class boost::container::list<test::movable_and_copyable_int,
|
||||
std::allocator<test::movable_and_copyable_int> >;
|
||||
|
||||
namespace container_detail {
|
||||
|
||||
template class list_const_iterator
|
||||
<int, intrusive_list_type< std::allocator<int> >::container_type::iterator >;
|
||||
template class list_iterator
|
||||
<int, intrusive_list_type< std::allocator<int> >::container_type::iterator>;
|
||||
|
||||
}
|
||||
|
||||
}}
|
||||
|
||||
typedef list<int> MyList;
|
||||
|
||||
Reference in New Issue
Block a user