1 // (C) Copyright John Maddock 2005.
\r
2 // Use, modification and distribution are subject to the
\r
3 // Boost Software License, Version 1.0. (See accompanying file
\r
4 // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
\r
6 // The aim of this header is just to include <functional> but to do
\r
7 // so in a way that does not result in recursive inclusion of
\r
8 // the Boost TR1 components if boost/tr1/tr1/functional is in the
\r
9 // include search path. We have to do this to avoid circular
\r
13 #ifndef BOOST_CONFIG_FUNCTIONAL
\r
14 # define BOOST_CONFIG_FUNCTIONAL
\r
16 # ifndef BOOST_TR1_NO_RECURSION
\r
17 # define BOOST_TR1_NO_RECURSION
\r
18 # define BOOST_CONFIG_NO_FUNCTIONAL_RECURSION
\r
21 # include <functional>
\r
23 # ifdef BOOST_CONFIG_NO_FUNCTIONAL_RECURSION
\r
24 # undef BOOST_TR1_NO_RECURSION
\r
25 # undef BOOST_CONFIG_NO_FUNCTIONAL_RECURSION
\r