]>
git.proxmox.com Git - ceph.git/blob - ceph/src/boost/libs/bind/test/ref_fn_test.cpp
1 #include <boost/config.hpp>
3 #if defined(BOOST_MSVC)
4 #pragma warning(disable: 4786) // identifier truncated in debug info
5 #pragma warning(disable: 4710) // function not inlined
6 #pragma warning(disable: 4711) // function selected for automatic inline expansion
7 #pragma warning(disable: 4514) // unreferenced inline removed
10 // ref_fn_test.cpp: ref( f )
12 // Copyright (c) 2008 Peter Dimov
14 // Distributed under the Boost Software License, Version 1.0.
15 // See accompanying file LICENSE_1_0.txt or copy at
16 // http://www.boost.org/LICENSE_1_0.txt
18 #include <boost/ref.hpp>
19 #include <boost/detail/lightweight_test.hpp>
34 void f3(int, int, int)
38 void f4(int, int, int, int)
42 void f5(int, int, int, int, int)
46 void f6(int, int, int, int, int, int)
50 void f7(int, int, int, int, int, int, int)
54 void f8(int, int, int, int, int, int, int, int)
58 void f9(int, int, int, int, int, int, int, int, int)
62 #define BOOST_TEST_REF( f ) BOOST_TEST( &boost::ref( f ).get() == &f )
80 return boost::report_errors();