Jeff Thompson | f7d4994 | 2013-08-01 16:47:40 -0700 | [diff] [blame] | 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 | // The aim of this header is just to include <utility> but to do |
| 7 | // so in a way that does not result in recursive inclusion of |
Jeff Thompson | 9939dcd | 2013-10-15 15:12:24 -0700 | [diff] [blame] | 8 | // the Boost TR1 components if ndnboost/tr1/tr1/utility is in the |
Jeff Thompson | f7d4994 | 2013-08-01 16:47:40 -0700 | [diff] [blame] | 9 | // include search path. We have to do this to avoid circular |
| 10 | // dependencies: |
| 11 | // |
| 12 | |
Jeff Thompson | 3d613fd | 2013-10-15 15:39:04 -0700 | [diff] [blame] | 13 | #ifndef NDNBOOST_CONFIG_UTILITY |
| 14 | # define NDNBOOST_CONFIG_UTILITY |
Jeff Thompson | f7d4994 | 2013-08-01 16:47:40 -0700 | [diff] [blame] | 15 | |
Jeff Thompson | 3d613fd | 2013-10-15 15:39:04 -0700 | [diff] [blame] | 16 | # ifndef NDNBOOST_TR1_NO_RECURSION |
| 17 | # define NDNBOOST_TR1_NO_RECURSION |
| 18 | # define NDNBOOST_CONFIG_NO_UTILITY_RECURSION |
Jeff Thompson | f7d4994 | 2013-08-01 16:47:40 -0700 | [diff] [blame] | 19 | # endif |
| 20 | |
| 21 | # include <utility> |
| 22 | |
Jeff Thompson | 3d613fd | 2013-10-15 15:39:04 -0700 | [diff] [blame] | 23 | # ifdef NDNBOOST_CONFIG_NO_UTILITY_RECURSION |
| 24 | # undef NDNBOOST_TR1_NO_RECURSION |
| 25 | # undef NDNBOOST_CONFIG_NO_UTILITY_RECURSION |
Jeff Thompson | f7d4994 | 2013-08-01 16:47:40 -0700 | [diff] [blame] | 26 | # endif |
| 27 | |
| 28 | #endif |