]> git.proxmox.com Git - ceph.git/blame - ceph/src/boost/libs/coroutine/include/boost/coroutine/stack_traits.hpp
bump version to 12.2.2-pve1
[ceph.git] / ceph / src / boost / libs / coroutine / include / boost / coroutine / stack_traits.hpp
CommitLineData
7c673cae
FG
1
2// Copyright Oliver Kowalke 2009.
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)
6
7#ifndef BOOST_COROUTINES_STACK_TRAITS_H
8#define BOOST_COROUTINES_STACK_TRAITS_H
9
10#include <cstddef>
11
12#include <boost/config.hpp>
13
14#include <boost/coroutine/detail/config.hpp>
15
16#ifdef BOOST_HAS_ABI_HEADERS
17# include BOOST_ABI_PREFIX
18#endif
19
20namespace boost {
21namespace coroutines {
22
23struct BOOST_COROUTINES_DECL stack_traits
24{
25 static bool is_unbounded() BOOST_NOEXCEPT;
26
27 static std::size_t page_size() BOOST_NOEXCEPT;
28
29 static std::size_t default_size() BOOST_NOEXCEPT;
30
31 static std::size_t minimum_size() BOOST_NOEXCEPT;
32
33 static std::size_t maximum_size() BOOST_NOEXCEPT;
34};
35
36}}
37
38#ifdef BOOST_HAS_ABI_HEADERS
39# include BOOST_ABI_SUFFIX
40#endif
41
42#endif // BOOST_COROUTINES_STACK_TRAITS_H