Chris@102: // Copyright (C) 2013 Vicente J. Botet Escriba Chris@102: // Chris@102: // Distributed under the Boost Software License, Version 1.0. (See accompanying Chris@102: // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) Chris@102: // Chris@102: // 2013/10 Vicente J. Botet Escriba Chris@102: // Creation. Chris@102: Chris@102: #ifndef BOOST_CSBL_FUNCTIONAL_HPP Chris@102: #define BOOST_CSBL_FUNCTIONAL_HPP Chris@102: Chris@102: #include Chris@102: Chris@102: #include Chris@102: Chris@102: #if defined BOOST_THREAD_USES_BOOST_FUNCTIONAL || defined BOOST_NO_CXX11_HDR_FUNCTIONAL || defined BOOST_NO_CXX11_RVALUE_REFERENCES Chris@102: #ifndef BOOST_THREAD_USES_BOOST_FUNCTIONAL Chris@102: #define BOOST_THREAD_USES_BOOST_FUNCTIONAL Chris@102: #endif Chris@102: #include Chris@102: #endif Chris@102: Chris@102: namespace boost Chris@102: { Chris@102: namespace csbl Chris@102: { Chris@102: #if defined BOOST_THREAD_USES_BOOST_FUNCTIONAL Chris@102: using ::boost::function; Chris@102: #else Chris@102: // D.8.1, base (deprecated): Chris@102: // 20.9.3, reference_wrapper: Chris@102: // 20.9.4, arithmetic operations: Chris@102: // 20.9.5, comparisons: Chris@102: // 20.9.6, logical operations: Chris@102: // 20.9.7, bitwise operations: Chris@102: // 20.9.8, negators: Chris@102: // 20.9.9, bind: Chris@102: // D.9, binders (deprecated): Chris@102: // D.8.2.1, adaptors (deprecated): Chris@102: // D.8.2.2, adaptors (deprecated): Chris@102: // 20.9.10, member function adaptors: Chris@102: // 20.9.11 polymorphic function wrappers: Chris@102: using ::std::function; Chris@102: // 20.9.12, hash function primary template: Chris@102: #endif Chris@102: Chris@102: } Chris@102: } Chris@102: #endif // header