]> git.proxmox.com Git - ceph.git/blob - ceph/src/boost/libs/function_types/test/synthesis/function_type.cpp
add subtree-ish sources for 12.0.3
[ceph.git] / ceph / src / boost / libs / function_types / test / synthesis / function_type.cpp
1
2 // (C) Copyright Tobias Schwinger
3 //
4 // Use modification and distribution are subject to the boost Software License,
5 // Version 1.0. (See http://www.boost.org/LICENSE_1_0.txt).
6
7 //------------------------------------------------------------------------------
8
9 #include <boost/mpl/assert.hpp>
10 #include <boost/mpl/vector.hpp>
11 #include <boost/type_traits/is_same.hpp>
12 #include <boost/function_types/function_type.hpp>
13
14 namespace ft = boost::function_types;
15 namespace mpl = boost::mpl;
16 using boost::is_same;
17
18 typedef int expected(int,int);
19
20 BOOST_MPL_ASSERT((
21 is_same< ft::function_type< mpl::vector<int,int,int> >::type, expected >
22 ));
23