A view over the iterator range [begin, end)] that formats its elements separated by sep, produced by fmt::join.

Synopsis

Declared in <fmt/ranges.h>

template<
    typename It,
    typename Sentinel,
    typename Char = char>
struct join_view;

Member Functions

Name

Description

join_view [constructor]

Constructs a view over [b, e)] with elements separated by s.

Data Members

Name

Description

begin

The iterator to the first element to format.

end

The sentinel marking the end of the range.

sep

The string inserted between formatted elements.

Non-Member Functions

Name

Description

join

Returns an object that formats std::initializer_list with elements separated by sep.

join

Returns a view that formats range with elements separated by sep.

join

Returns a view that formats the iterator range [begin, end)], with an exotic (non‐`char`) character type, with elements separated by sep.

join

Returns a view that formats the iterator range [begin, end)] with elements separated by sep.

join

Returns a view that formats range, with an exotic (non‐`char`) character type, with elements separated by sep.

join

Returns a view that formats list with elements separated by sep.

Created with MrDocs