#ifndef _LIBCPP___FORMAT_FORMAT_ARG_STORE_H
#define _LIBCPP___FORMAT_FORMAT_ARG_STORE_H
#if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
# pragma GCC system_header
#endif
#include <__concepts/arithmetic.h>
#include <__concepts/same_as.h>
#include <__config>
#include <__format/concepts.h>
#include <__format/format_arg.h>
#include <__type_traits/conditional.h>
#include <__type_traits/extent.h>
#include <__type_traits/remove_const.h>
#include <string>
#include <string_view>
_LIBCPP_BEGIN_NAMESPACE_STD
#if _LIBCPP_STD_VER >= 20
namespace __format {
template <class _Context, class _Tp>
consteval __arg_t __determine_arg_t();
template <class, same_as<bool> _Tp>
consteval __arg_t __determine_arg_t() { … }
template <class _Context, same_as<typename _Context::char_type> _Tp>
consteval __arg_t __determine_arg_t() { … }
# ifndef _LIBCPP_HAS_NO_WIDE_CHARACTERS
template <class _Context, class _CharT>
requires(same_as<typename _Context::char_type, wchar_t> && same_as<_CharT, char>)
consteval __arg_t __determine_arg_t() { … }
# endif
template <class, __libcpp_signed_integer _Tp>
consteval __arg_t __determine_arg_t() { … }
template <class, __libcpp_unsigned_integer _Tp>
consteval __arg_t __determine_arg_t() { … }
template <class, same_as<float> _Tp>
consteval __arg_t __determine_arg_t() { … }
template <class, same_as<double> _Tp>
consteval __arg_t __determine_arg_t() { … }
template <class, same_as<long double> _Tp>
consteval __arg_t __determine_arg_t() { … }
template <class _Context, class _Tp>
requires(same_as<typename _Context::char_type*, _Tp> || same_as<const typename _Context::char_type*, _Tp>)
consteval __arg_t __determine_arg_t() { … }
template <class _Context, class _Tp>
requires(is_array_v<_Tp> && same_as<_Tp, typename _Context::char_type[extent_v<_Tp>]>)
consteval __arg_t __determine_arg_t() { … }
template <class _Context, class _Tp>
requires(same_as<typename _Context::char_type, typename _Tp::value_type> &&
same_as<_Tp, basic_string_view<typename _Tp::value_type, typename _Tp::traits_type>>)
consteval __arg_t __determine_arg_t() { … }
template <class _Context, class _Tp>
requires(
same_as<typename _Context::char_type, typename _Tp::value_type> &&
same_as<_Tp, basic_string<typename _Tp::value_type, typename _Tp::traits_type, typename _Tp::allocator_type>>)
consteval __arg_t __determine_arg_t() { … }
template <class, class _Ptr>
requires(same_as<_Ptr, void*> || same_as<_Ptr, const void*> || same_as<_Ptr, nullptr_t>)
consteval __arg_t __determine_arg_t() { … }
template <class _Context, class _Tp>
consteval __arg_t __determine_arg_t() { … }
template <class _Context, class _Tp>
requires(!__formattable_with<_Tp, _Context>)
consteval __arg_t __determine_arg_t() { … }
template <class _Context, class _Tp>
_LIBCPP_HIDE_FROM_ABI basic_format_arg<_Context> __create_format_arg(_Tp& __value) noexcept { … }
template <class _Context, class... _Args>
_LIBCPP_HIDE_FROM_ABI void
__create_packed_storage(uint64_t& __types, __basic_format_arg_value<_Context>* __values, _Args&... __args) noexcept { … }
template <class _Context, class... _Args>
_LIBCPP_HIDE_FROM_ABI void __store_basic_format_arg(basic_format_arg<_Context>* __data, _Args&... __args) noexcept { … }
template <class _Context, size_t _Np>
struct __packed_format_arg_store { … };
template <class _Context, size_t _Np>
struct __unpacked_format_arg_store { … };
}
template <class _Context, class... _Args>
struct _LIBCPP_TEMPLATE_VIS __format_arg_store { … };
#endif
_LIBCPP_END_NAMESPACE_STD
#endif