Iros
 
Loading...
Searching...
No Matches
di::FormatParseContext< Enc > Class Template Reference

#include <di/format/format_parse_context.h>

Classes

struct  Argument
 
struct  Iterator
 

Public Types

using Value = Result<Variant<View, Argument>>
 

Public Member Functions

constexpr FormatParseContext (View view, size_t arg_count)
 
constexpr auto begin ()
 
constexpr auto end () const
 
constexpr void set_current_format_string (View view)
 
constexpr auto current_format_string () const -> View
 
constexpr auto next_arg_index () -> Result< size_t >
 
constexpr auto check_arg_index (size_t index) -> Result< void >
 

Member Typedef Documentation

◆ Value

template<concepts::Encoding Enc>
using di::format::FormatParseContext< Enc >::Value = Result<Variant<View, Argument>>

Constructor & Destructor Documentation

◆ FormatParseContext()

template<concepts::Encoding Enc>
di::format::FormatParseContext< Enc >::FormatParseContext ( View view,
size_t arg_count )
inlineexplicitconstexpr

Member Function Documentation

◆ begin()

template<concepts::Encoding Enc>
auto di::format::FormatParseContext< Enc >::begin ( )
inlineconstexpr

◆ check_arg_index()

template<concepts::Encoding Enc>
auto di::format::FormatParseContext< Enc >::check_arg_index ( size_t index) -> Result<void>
inlineconstexpr

◆ current_format_string()

template<concepts::Encoding Enc>
auto di::format::FormatParseContext< Enc >::current_format_string ( ) const -> View
inlineconstexpr

◆ end()

template<concepts::Encoding Enc>
auto di::format::FormatParseContext< Enc >::end ( ) const
inlineconstexpr

◆ next_arg_index()

template<concepts::Encoding Enc>
auto di::format::FormatParseContext< Enc >::next_arg_index ( ) -> Result<size_t>
inlineconstexpr

◆ set_current_format_string()

template<concepts::Encoding Enc>
void di::format::FormatParseContext< Enc >::set_current_format_string ( View view)
inlineconstexpr

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