std::formatter<std::stack>
From cppreference.com
Defined in header <stack>
|
||
template< class CharT, class T, std::formattable<CharT> Container, class... U > struct formatter<std::stack<T, Container, U...>, CharT>; |
(since C++23) | |
The template specialization of std::formatter for the container adaptor type std::stack allows users to convert the underlying container to its textual representation as a collection of elements using formatting functions.
The specialization is enabled if std::formattable<Container, CharT> is true.
Contents |