ESBMC
Efficient SMT-based Context-Bounded Model Checker
Loading...
Searching...
No Matches
utf8_reader< T > Class Template Referencefinal

#include <toml.hpp>

Inheritance diagram for utf8_reader< T >:
[legend]

Public Member Functions

template<typename U, typename String = std::string_view>
TOML_NODISCARD_CTOR utf8_reader (U &&source, String &&source_path={}) noexcept(std::is_nothrow_constructible_v< utf8_byte_stream< T >, U && >)
TOML_PURE_INLINE_GETTER const source_path_ptr & source_path () const noexcept final
TOML_NODISCARD const utf8_codepoint * read_next () noexcept(!TOML_COMPILER_HAS_EXCEPTIONS) final
TOML_NODISCARD bool peek_eof () const noexcept(!TOML_COMPILER_HAS_EXCEPTIONS) final
TOML_NODISCARD optional< parse_error > && error () noexcept final
Public Member Functions inherited from utf8_reader_interface
virtual ~utf8_reader_interface () noexcept=default

Constructor & Destructor Documentation

◆ utf8_reader()

template<typename T>
template<typename U, typename String = std::string_view>
TOML_NODISCARD_CTOR utf8_reader< T >::utf8_reader ( U && source,
String && source_path = {} )
inlineexplicitnoexcept

Member Function Documentation

◆ error()

template<typename T>
TOML_NODISCARD optional< parse_error > && utf8_reader< T >::error ( )
inlinefinalvirtualnoexcept

Implements utf8_reader_interface.

◆ peek_eof()

template<typename T>
TOML_NODISCARD bool utf8_reader< T >::peek_eof ( ) const
inlinefinalvirtualnoexcept

Implements utf8_reader_interface.

◆ read_next()

template<typename T>
TOML_NODISCARD const utf8_codepoint * utf8_reader< T >::read_next ( )
inlinefinalvirtualnoexcept

Implements utf8_reader_interface.

◆ source_path()

template<typename T>
TOML_PURE_INLINE_GETTER const source_path_ptr & utf8_reader< T >::source_path ( ) const
inlinefinalvirtualnoexcept

Implements utf8_reader_interface.


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