forked from boostorg/container
Refactor big test into smaller tests
This commit is contained in:
@@ -17,10 +17,29 @@ struct empty
|
||||
};
|
||||
|
||||
template class ::boost::container::stable_vector<empty>;
|
||||
volatile ::boost::container::stable_vector<empty> dummy;
|
||||
|
||||
#include <boost/container/node_allocator.hpp>
|
||||
#include "movable_int.hpp"
|
||||
#include "dummy_test_allocator.hpp"
|
||||
|
||||
namespace boost {
|
||||
namespace container {
|
||||
|
||||
//Explicit instantiation to detect compilation errors
|
||||
template class stable_vector<test::movable_and_copyable_int,
|
||||
test::simple_allocator<test::movable_and_copyable_int> >;
|
||||
|
||||
template class stable_vector
|
||||
< test::movable_and_copyable_int
|
||||
, node_allocator<test::movable_and_copyable_int> >;
|
||||
|
||||
template class stable_vector_iterator<int*, false>;
|
||||
template class stable_vector_iterator<int*, true >;
|
||||
|
||||
}}
|
||||
|
||||
int main()
|
||||
{
|
||||
::boost::container::stable_vector<empty> dummy;
|
||||
(void)dummy;
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user