• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 
2 // Copyright 2018 Peter Dimov.
3 //
4 // Distributed under the Boost Software License, Version 1.0.
5 //
6 // See accompanying file LICENSE_1_0.txt or copy at
7 // http://www.boost.org/LICENSE_1_0.txt
8 
9 #include <boost/container/pmr/vector.hpp>
10 #include <boost/core/lightweight_test.hpp>
11 
main()12 int main()
13 {
14     boost::container::pmr::vector_of<int>::type v;
15 
16     v.push_back( 1 );
17     v.push_back( 2 );
18 
19     BOOST_TEST_EQ( v.size(), 2 );
20 
21     BOOST_TEST_EQ( v[0], 1 );
22     BOOST_TEST_EQ( v[1], 2 );
23 
24     return boost::report_errors();
25 }
26