2 // Copyright Oliver Kowalke 2014.
3 // Distributed under the Boost Software License, Version 1.0.
4 // (See accompanying file LICENSE_1_0.txt or copy at
5 // http://www.boost.org/LICENSE_1_0.txt)
7 #ifndef BOOST_CONTEXT_STACK_TRAITS_H
8 #define BOOST_CONTEXT_STACK_TRAITS_H
12 #include <boost/config.hpp>
14 #include <boost/context/detail/config.hpp>
16 #ifdef BOOST_HAS_ABI_HEADERS
17 # include BOOST_ABI_PREFIX
23 struct BOOST_CONTEXT_DECL stack_traits
25 static bool is_unbounded() BOOST_NOEXCEPT;
27 static std::size_t page_size() BOOST_NOEXCEPT;
29 static std::size_t default_size() BOOST_NOEXCEPT;
31 static std::size_t minimum_size() BOOST_NOEXCEPT;
33 static std::size_t maximum_size() BOOST_NOEXCEPT;
38 #ifdef BOOST_HAS_ABI_HEADERS
39 # include BOOST_ABI_SUFFIX
42 #endif // BOOST_CONTEXT_STACK_TRAITS_H