1 // (C) Copyright John Maddock 2005.
2 // Use, modification and distribution are subject to the
3 // Boost Software License, Version 1.0. (See accompanying file
4 // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
6 #if !defined(BOOST_TR1_FUNCTIONAL_INCLUDED)
7 # define BOOST_TR1_FUNCTIONAL_INCLUDED
8 # ifndef BOOST_TR1_NO_RECURSION
9 # define BOOST_TR1_NO_RECURSION
10 # define BOOST_TR1_NO_FUNCTIONAL_RECURSION
12 # include <boost/tr1/detail/config_all.hpp>
13 # if defined(BOOST_HAS_INCLUDE_NEXT) && !defined(BOOST_TR1_DISABLE_INCLUDE_NEXT)
14 # include_next <functional>
16 # include BOOST_TR1_STD_HEADER(functional)
18 # ifdef BOOST_TR1_NO_FUNCTIONAL_RECURSION
19 # undef BOOST_TR1_NO_FUNCTIONAL_RECURSION
20 # undef BOOST_TR1_NO_RECURSION
24 #if !defined(BOOST_TR1_FULL_FUNCTIONAL_INCLUDED) && !defined(BOOST_TR1_NO_RECURSION)
25 # define BOOST_TR1_FULL_FUNCTIONAL_INCLUDED
26 # define BOOST_TR1_NO_RECURSION
27 # include <boost/tr1/functional.hpp>
28 # undef BOOST_TR1_NO_RECURSION