First public contribution.
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 // This file exists to prevent std lib headers from accidentally
7 // including a TR1 extention header; we must suppress this otherwise
8 // we can end up with cyclic dependencies with some std lib implementations.
10 #ifndef BOOST_TR1_stack_INCLUDED
11 # define BOOST_TR1_stack_INCLUDED
12 # ifndef BOOST_TR1_NO_RECURSION
13 # define BOOST_TR1_NO_RECURSION
14 # define BOOST_TR1_NO_stack_RECURSION
16 # include <boost/tr1/detail/config.hpp>
17 # ifdef BOOST_HAS_INCLUDE_NEXT
18 # include_next <stack>
20 # include BOOST_TR1_STD_HEADER(stack)
22 # ifdef BOOST_TR1_NO_stack_RECURSION
23 # undef BOOST_TR1_NO_stack_RECURSION
24 # undef BOOST_TR1_NO_RECURSION