diff options
Diffstat (limited to 'boost/coroutine2/protected_fixedsize_stack.hpp')
-rw-r--r-- | boost/coroutine2/protected_fixedsize_stack.hpp | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/boost/coroutine2/protected_fixedsize_stack.hpp b/boost/coroutine2/protected_fixedsize_stack.hpp new file mode 100644 index 0000000000..d2ee279775 --- /dev/null +++ b/boost/coroutine2/protected_fixedsize_stack.hpp @@ -0,0 +1,33 @@ + +// Copyright Oliver Kowalke 2014. +// Distributed under the Boost Software License, Version 1.0. +// (See accompanying file LICENSE_1_0.txt or copy at +// http://www.boost.org/LICENSE_1_0.txt) + +#ifndef BOOST_COROUTINES2_PROTECTED_FIXEDSIZE_H +#define BOOST_COROUTINES2_PROTECTED_FIXEDSIZE_H + +#include <exception> + +#include <boost/assert.hpp> +#include <boost/config.hpp> +#include <boost/context/protected_fixedsize_stack.hpp> + +#include <boost/coroutine2/detail/coroutine.hpp> + +#ifdef BOOST_HAS_ABI_HEADERS +# include BOOST_ABI_PREFIX +#endif + +namespace boost { +namespace coroutines2 { + +typedef boost::context::protected_fixedsize_stack protected_fixedsize_stack; + +}} + +#ifdef BOOST_HAS_ABI_HEADERS +# include BOOST_ABI_SUFFIX +#endif + +#endif // BOOST_COROUTINES2_PROTECTED_FIXEDSIZE_H |