Skip to content

Struct endstone::detail::JoinView

template <typename It, typename Sentinel>

ClassList > endstone > detail > JoinView

A lightweight, formattable view over a range that renders its elements separated by a delimiter. More...

  • #include <endstone/util/format.h>

Public Attributes

Type Name
It begin
Sentinel end
std::string_view sep

Detailed Description

This is a drop-in replacement for fmt::join, which has no equivalent in std::format (C++20). It allocates nothing of its own: elements are written straight to the output iterator.

Public Attributes Documentation

variable begin

It endstone::detail::JoinView< It, Sentinel >::begin;

variable end

Sentinel endstone::detail::JoinView< It, Sentinel >::end;

variable sep

std::string_view endstone::detail::JoinView< It, Sentinel >::sep;


The documentation for this class was generated from the following file include/endstone/util/format.h