]> git.proxmox.com Git - ceph.git/blame - ceph/src/boost/libs/typeof/test/template_type.cpp
update sources to v12.2.3
[ceph.git] / ceph / src / boost / libs / typeof / test / template_type.cpp
CommitLineData
7c673cae
FG
1// Copyright (C) 2006 Arkadiy Vertleyb
2// Use, modification and distribution is subject to the Boost Software
3// License, Version 1.0. (http://www.boost.org/LICENSE_1_0.txt)
4
5#include "test.hpp"
6#include BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP()
7
8struct P1;
9struct P2;
10
11template<class P1, class P2> struct Tpl;
12
13BOOST_TYPEOF_REGISTER_TYPE(P1)
14BOOST_TYPEOF_REGISTER_TYPE(P2)
15BOOST_TYPEOF_REGISTER_TEMPLATE(Tpl, 2)
16
17BOOST_STATIC_ASSERT((boost::type_of::test<Tpl<P1, P2> >::value));