1243da90eSArthur O'Dwyer //===----------------------------------------------------------------------===// 2243da90eSArthur O'Dwyer // 3243da90eSArthur O'Dwyer // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. 4243da90eSArthur O'Dwyer // See https://llvm.org/LICENSE.txt for license information. 5243da90eSArthur O'Dwyer // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 6243da90eSArthur O'Dwyer // 7243da90eSArthur O'Dwyer //===----------------------------------------------------------------------===// 8243da90eSArthur O'Dwyer 9243da90eSArthur O'Dwyer #ifndef _LIBCPP___MEMORY_RESOURCE_POOL_OPTIONS_H 10243da90eSArthur O'Dwyer #define _LIBCPP___MEMORY_RESOURCE_POOL_OPTIONS_H 11243da90eSArthur O'Dwyer 12243da90eSArthur O'Dwyer #include <__config> 13*e99c4906SNikolas Klauser #include <__cstddef/size_t.h> 14243da90eSArthur O'Dwyer 15243da90eSArthur O'Dwyer #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) 16243da90eSArthur O'Dwyer # pragma GCC system_header 17243da90eSArthur O'Dwyer #endif 18243da90eSArthur O'Dwyer 194f15267dSNikolas Klauser #if _LIBCPP_STD_VER >= 17 20243da90eSArthur O'Dwyer 21243da90eSArthur O'Dwyer _LIBCPP_BEGIN_NAMESPACE_STD 22243da90eSArthur O'Dwyer 23243da90eSArthur O'Dwyer namespace pmr { 24243da90eSArthur O'Dwyer 25243da90eSArthur O'Dwyer // [mem.res.pool.options] 26243da90eSArthur O'Dwyer 27f1ea0b11SNikolas Klauser struct _LIBCPP_EXPORTED_FROM_ABI pool_options { 28243da90eSArthur O'Dwyer size_t max_blocks_per_chunk = 0; 29243da90eSArthur O'Dwyer size_t largest_required_pool_block = 0; 30243da90eSArthur O'Dwyer }; 31243da90eSArthur O'Dwyer 32243da90eSArthur O'Dwyer } // namespace pmr 33243da90eSArthur O'Dwyer 34243da90eSArthur O'Dwyer _LIBCPP_END_NAMESPACE_STD 35243da90eSArthur O'Dwyer 364f15267dSNikolas Klauser #endif // _LIBCPP_STD_VER >= 17 37243da90eSArthur O'Dwyer 38243da90eSArthur O'Dwyer #endif // _LIBCPP___MEMORY_RESOURCE_POOL_OPTIONS_H 39