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)
7 #if !defined(BOOST_TR1_UTILITY_INCLUDED) || defined(BOOST_TR1_NO_RECURSION)
8 #ifndef BOOST_TR1_UTILITY_INCLUDED
9 # define BOOST_TR1_UTILITY_INCLUDED
11 # ifdef BOOST_TR1_NO_UTILITY_RECURSION2
12 # define BOOST_TR1_NO_UTILITY_RECURSION3
13 # elif defined(BOOST_TR1_NO_UTILITY_RECURSION)
14 # define BOOST_TR1_NO_UTILITY_RECURSION2
15 # elif !defined(BOOST_TR1_NO_RECURSION)
16 # define BOOST_TR1_NO_RECURSION
17 # define BOOST_TR1_NO_UTILITY_RECURSION
19 # include <boost/tr1/detail/config_all.hpp>
20 # if defined(BOOST_HAS_INCLUDE_NEXT) && !defined(BOOST_TR1_DISABLE_INCLUDE_NEXT)
21 # include_next <utility>
23 # include BOOST_TR1_STD_HEADER(utility)
25 #ifdef BOOST_TR1_NO_UTILITY_RECURSION3
26 # undef BOOST_TR1_NO_UTILITY_RECURSION3
27 #elif defined(BOOST_TR1_NO_UTILITY_RECURSION2)
28 # undef BOOST_TR1_NO_UTILITY_RECURSION2
29 #elif defined(BOOST_TR1_NO_UTILITY_RECURSION)
30 # undef BOOST_TR1_NO_RECURSION
31 # undef BOOST_TR1_NO_UTILITY_RECURSION
35 #if !defined(BOOST_TR1_FULL_UTILITY_INCLUDED) && !defined(BOOST_TR1_NO_RECURSION)
36 # define BOOST_TR1_FULL_UTILITY_INCLUDED
37 # define BOOST_TR1_NO_RECURSION
38 # include <boost/tr1/utility.hpp>
39 # undef BOOST_TR1_NO_RECURSION