File indexing completed on 2025-01-18 09:30:25
0001
0002
0003
0004
0005
0006
0007 #ifndef BOOST_CONTEXT_STACK_TRAITS_H
0008 #define BOOST_CONTEXT_STACK_TRAITS_H
0009
0010 #include <cstddef>
0011
0012 #include <boost/config.hpp>
0013
0014 #include <boost/context/detail/config.hpp>
0015
0016 #ifdef BOOST_HAS_ABI_HEADERS
0017 # include BOOST_ABI_PREFIX
0018 #endif
0019
0020 namespace boost {
0021 namespace context {
0022
0023 struct BOOST_CONTEXT_DECL stack_traits
0024 {
0025 static bool is_unbounded() BOOST_NOEXCEPT_OR_NOTHROW;
0026
0027 static std::size_t page_size() BOOST_NOEXCEPT_OR_NOTHROW;
0028
0029 static std::size_t default_size() BOOST_NOEXCEPT_OR_NOTHROW;
0030
0031 static std::size_t minimum_size() BOOST_NOEXCEPT_OR_NOTHROW;
0032
0033 static std::size_t maximum_size() BOOST_NOEXCEPT_OR_NOTHROW;
0034 };
0035
0036 }}
0037
0038 #ifdef BOOST_HAS_ABI_HEADERS
0039 # include BOOST_ABI_SUFFIX
0040 #endif
0041
0042 #endif