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) 5 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 11# endif 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> 15# else 16# include BOOST_TR1_STD_HEADER(functional) 17# endif 18# ifdef BOOST_TR1_NO_FUNCTIONAL_RECURSION 19# undef BOOST_TR1_NO_FUNCTIONAL_RECURSION 20# undef BOOST_TR1_NO_RECURSION 21# endif 22#endif 23 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 29#endif 30 31