]> git.proxmox.com Git - ceph.git/blob - ceph/src/boost/libs/tti/test/test_has_static_member_template_compile.cpp
update source to Ceph Pacific 16.2.2
[ceph.git] / ceph / src / boost / libs / tti / test / test_has_static_member_template_compile.cpp
1
2 // (C) Copyright Edward Diener 2019
3 // Use, modification and distribution are subject to the Boost Software License,
4 // Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
5 // http://www.boost.org/LICENSE_1_0.txt).
6
7 #include "test_has_static_mem_fun_template.hpp"
8 #include <boost/mpl/assert.hpp>
9
10 int main()
11 {
12
13 BOOST_MPL_ASSERT((BOOST_TTI_HAS_STATIC_MEMBER_FUNCTION_TEMPLATE_GEN(StatFuncTemplate)<AType::AStructType,int(short *,long)>));
14 BOOST_MPL_ASSERT((TAnother<AType,void (int,long &,const long &)>));
15 BOOST_MPL_ASSERT((BOOST_TTI_HAS_STATIC_MEMBER_FUNCTION_TEMPLATE_GEN(YetAnotherFuncTemplate)<AnotherType,void (const double &,float &)>));
16
17 return 0;
18
19 }