]> git.proxmox.com Git - ceph.git/blame - ceph/src/boost/libs/container/test/pmr_set_test.cpp
update sources to ceph Nautilus 14.2.1
[ceph.git] / ceph / src / boost / libs / container / test / pmr_set_test.cpp
CommitLineData
7c673cae
FG
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/set.hpp>
12#include <boost/static_assert.hpp>
13#include <boost/container/detail/type_traits.hpp>
14
15int main()
16{
17 using namespace boost::container;
11fdf7f2 18 using boost::container::dtl::is_same;
7c673cae
FG
19
20 typedef set<int, std::less<int>, pmr::polymorphic_allocator<int> > intcontainer_t;
21 BOOST_STATIC_ASSERT(( is_same<intcontainer_t, pmr::set_of<int>::type >::value ));
22 #if !defined(BOOST_NO_CXX11_TEMPLATE_ALIASES)
23 BOOST_STATIC_ASSERT(( is_same<intcontainer_t, pmr::set<int> >::value ));
24 #endif
25 return 0;
26}