Use explicit instantiation for iterators defined outside the class in order to detect compilation errors.

[SVN r82815]
This commit is contained in:
Ion Gaztañaga
2013-02-11 11:31:59 +00:00
parent c0cb9ae2c7
commit f56ec3886b
5 changed files with 36 additions and 0 deletions
+7
View File
@@ -39,6 +39,13 @@ template class boost::container::vector<test::movable_and_copyable_int,
template class boost::container::vector<test::movable_and_copyable_int,
std::allocator<test::movable_and_copyable_int> >;
namespace container_detail {
template class vector_const_iterator<int*>;
template class vector_iterator<int*>;
}
}}
int test_expand_bwd()