std::formatter<std::queue>

Header: <queue>

The template specialization of std::formatter for the container adaptor type std::queue allows users to convert the underlying container to its textual representation as a collection of elements using formatting functions.

# Declarations

template< class CharT, class T, std::formattable<CharT> Container, class... U >
struct formatter<std::queue<T, Container, U...>, CharT>;

(since C++23)

# Return value

An iterator past the end of the range-format-spec of the underlying container.

# Example

This section is incompleteReason: no example

# See also