// Boost.Function library // Copyright 2016 Peter Dimov // Use, modification and distribution is subject to // the Boost Software License, Version 1.0. // (See accompanying file LICENSE_1_0.txt or copy at // http://www.boost.org/LICENSE_1_0.txt) #include #include #include struct X { }; struct Y { }; struct Z { }; int main() { typedef boost::function F1; BOOST_TEST_TRAIT_TRUE(( boost::core::is_same )); BOOST_TEST_TRAIT_TRUE(( boost::core::is_same )); typedef boost::function F2; BOOST_TEST_TRAIT_TRUE(( boost::core::is_same )); BOOST_TEST_TRAIT_TRUE(( boost::core::is_same )); BOOST_TEST_TRAIT_TRUE(( boost::core::is_same )); return boost::report_errors(); }