]>
git.proxmox.com Git - ceph.git/blob - ceph/src/boost/libs/typeof/test/template_tpl.cpp
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)
6 #include BOOST_TYPEOF_INCREMENT_REGISTRATION_GROUP()
8 template<class T
, class U
>
11 template<class T
, int n
>
14 template<template<class, class> class T
, template<class, int> class U
>
17 BOOST_TYPEOF_REGISTER_TEMPLATE(t0
, 2)
19 BOOST_TYPEOF_REGISTER_TEMPLATE(t1
, (class)(int))
21 BOOST_TYPEOF_REGISTER_TEMPLATE(t2
,
22 (BOOST_TYPEOF_TEMPLATE(2))
23 (BOOST_TYPEOF_TEMPLATE((class)(int)))
26 BOOST_STATIC_ASSERT((boost::type_of::test
<t2
<t0
, t1
> >::value
));