#include <boost/container/small_vector.hpp>
#ifdef NDEBUG
#undef NDEBUG
#endif
#include <cassert>
int main ()
{
using namespace boost::container;
typedef small_vector_options< inplace_alignment<16u> >::type alignment_16_option_t;
small_vector<int, 10, void, alignment_16_option_t > sv;
assert(((std::size_t)sv.data() % 16u) == 0);
typedef small_vector_options< growth_factor<growth_factor_50> >::type growth_50_option_t;
small_vector<int, 10, void, growth_50_option_t > growth_50_vector(10, 0);
const std::size_t old_cap = growth_50_vector.capacity();
growth_50_vector.resize(old_cap);
growth_50_vector.push_back(1);
assert(growth_50_vector.capacity() == old_cap*3/2);
typedef small_vector_options< stored_size<unsigned char> >::type size_option_t;
typedef small_vector<int, 10, new_allocator<int>, size_option_t > size_optimized_vector_t;
assert((sizeof(size_optimized_vector_t) < sizeof(small_vector<int, 10>)));
return 0;
}