]>
git.proxmox.com Git - ceph.git/blob - ceph/src/boost/libs/mpl/test/get_tag_def.cpp
2 // Copyright Sergey Krivonos 2017
4 // Distributed under the Boost Software License, Version 1.0.
5 // (See accompanying file LICENSE_1_0.txt or copy at
6 // http://www.boost.org/LICENSE_1_0.txt)
8 // See http://www.boost.org/libs/mpl for documentation.
15 #include <boost/mpl/get_tag.hpp>
16 #include <boost/mpl/aux_/test.hpp>
17 #include <boost/mpl/aux_/test/assert.hpp>
18 #include <boost/type_traits/is_same.hpp>
21 struct test_type_get_tag_def
26 BOOST_MPL_GET_TAG_DEF(a_tag
);
30 MPL_ASSERT(( is_same
<int, boost::mpl::get_a_tag
<test_type_get_tag_def
>::type
> ));
31 MPL_ASSERT(( is_same
<test_type_get_tag_def::a_tag
, boost::mpl::get_a_tag
<test_type_get_tag_def
>::type
> ));