]>
git.proxmox.com Git - ceph.git/blob - ceph/src/boost/libs/function_types/test/synthesis/function_reference.cpp
2 // (C) Copyright Tobias Schwinger
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).
7 //------------------------------------------------------------------------------
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_reference.hpp>
14 namespace ft
= boost::function_types
;
15 namespace mpl
= boost::mpl
;
19 typedef int (& expected
)(int);
22 is_same
< ft::function_reference
< mpl::vector
<int,int> >::type
, expected
>