56#define _GLIBCXX_STACK 1
59#pragma GCC system_header
64#define __glibcxx_want_adaptor_iterator_pair_constructor
65#define __glibcxx_want_containers_ranges
66#define __glibcxx_want_constexpr_stack
72#ifdef __glibcxx_format_ranges
75namespace std _GLIBCXX_VISIBILITY(default)
77_GLIBCXX_BEGIN_NAMESPACE_VERSION
80 template<__format::__char _CharT,
typename _Tp,
81 formattable<_CharT> _Container>
82 struct formatter<
stack<_Tp, _Container>, _CharT>
85 using __maybe_const_adaptor
87 __format::__const_formattable_range<_Container, _CharT>,
88 const stack<_Tp, _Container>, stack<_Tp, _Container>>;
93 constexpr typename basic_format_parse_context<_CharT>::iterator
94 parse(basic_format_parse_context<_CharT>& __pc)
95 {
return _M_f.parse(__pc); }
99 template<
typename _Out>
100#ifdef __glibcxx_constexpr_format
103 typename basic_format_context<_Out, _CharT>::iterator
104 format(__maybe_const_adaptor& __a,
105 basic_format_context<_Out, _CharT>& __fc)
const
106 {
return _M_f.format(__a.c, __fc); }
110 range_formatter<_Tp, _CharT> _M_f;
113#if __glibcxx_print >= 202406L
116 template<
typename _Tp,
typename _Container>
118 enable_nonlocking_formatter_optimization<stack<_Tp, _Container>> =
false;
120_GLIBCXX_END_NAMESPACE_VERSION
ISO C++ entities toplevel namespace is std.
A standard container giving FILO behavior.