1//////////////////////////////////////////////////////////////////////////////
2//
3// (C) Copyright Ion Gaztanaga 2015-2015. Distributed under the Boost
4// Software License, Version 1.0. (See accompanying file
5// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
6//
7// See http://www.boost.org/libs/container for documentation.
8//
9//////////////////////////////////////////////////////////////////////////////
10
11#include <boost/container/pmr/list.hpp>
12#include <boost/container/detail/type_traits.hpp>
13
14int main()
15{
16 using namespace boost::container;
17 using boost::container::dtl::is_same;
18
19 typedef list<int, pmr::polymorphic_allocator<int> > intcontainer_t;
20 BOOST_CONTAINER_STATIC_ASSERT(( is_same<intcontainer_t, pmr::list_of<int>::type >::value ));
21 #if !defined(BOOST_NO_CXX11_TEMPLATE_ALIASES)
22 BOOST_CONTAINER_STATIC_ASSERT(( is_same<intcontainer_t, pmr::list<int> >::value ));
23 #endif
24 return 0;
25}
26

source code of boost/libs/container/test/pmr_list_test.cpp