GREM 3.12.0
Game/Rendering Engine Modules for C++
Loading...
Searching...
No Matches
grem::RangeFormatter< T > Struct Template Reference

#include <GREM/core/formatting.hpp>

Public Member Functions

constexpr const char * parseFormatSpecification (const char *p)
void formatTo (FormatOutput &output, const auto &value) const

Public Attributes

Formatter< T > underlying {}
StringView separator = ", "
StringView openingBracket = "["
StringView closingBracket = "]"

Member Function Documentation

◆ parseFormatSpecification()

template<typename T>
const char * grem::RangeFormatter< T >::parseFormatSpecification ( const char * p)
inlinenodiscardconstexpr

◆ formatTo()

template<typename T>
void grem::RangeFormatter< T >::formatTo ( FormatOutput & output,
const auto & value ) const
inline

Member Data Documentation

◆ underlying

template<typename T>
Formatter<T> grem::RangeFormatter< T >::underlying {}

◆ separator

template<typename T>
StringView grem::RangeFormatter< T >::separator = ", "

◆ openingBracket

template<typename T>
StringView grem::RangeFormatter< T >::openingBracket = "["

◆ closingBracket

template<typename T>
StringView grem::RangeFormatter< T >::closingBracket = "]"

The documentation for this struct was generated from the following file: