// (C) Copyright John Maddock 2012 // Use, modification and distribution are 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) // See http://www.boost.org/libs/config for more information. // MACRO: BOOST_NO_CXX11_HDR_FUNCTIONAL // TITLE: C++11 unavailable // DESCRIPTION: The compiler does not support the C++11 features added to #include void f(int, float){} namespace boost_no_cxx11_hdr_functional { int test() { int i = 0; std::ref(i); std::cref(i); std::bit_and b1; std::bit_or b2; std::bit_xor b3; std::hash hs; (void)b1; (void)b2; (void)b3; (void)hs; std::bind(f, std::placeholders::_1, 0.0f); std::function fun(f); return 0; } }