mirror of
https://github.com/boostorg/container.git
synced 2025-08-02 05:54:28 +02:00
Explicitly instantiate "stored_size" option to catch conversion warnings
This commit is contained in:
@@ -38,6 +38,12 @@ template class boost::container::vector
|
|||||||
template class vec_iterator<int*, true >;
|
template class vec_iterator<int*, true >;
|
||||||
template class vec_iterator<int*, false>;
|
template class vec_iterator<int*, false>;
|
||||||
|
|
||||||
|
//Test stored_size option
|
||||||
|
template class boost::container::vector< test::movable_and_copyable_int
|
||||||
|
, new_allocator<test::movable_and_copyable_int>
|
||||||
|
, vector_options< stored_size<unsigned short> >::type
|
||||||
|
>;
|
||||||
|
|
||||||
} //namespace boost {
|
} //namespace boost {
|
||||||
} //namespace container {
|
} //namespace container {
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user