4#ifndef TETL_FORMAT_BASIC_FORMAT_PARSE_CONTEXT_HPP
5#define TETL_FORMAT_BASIC_FORMAT_PARSE_CONTEXT_HPP
7#include <etl/_cstddef/ptrdiff_t.hpp>
8#include <etl/_cstddef/size_t.hpp>
9#include <etl/_string_view/basic_string_view.hpp>
13template <
typename CharT>
15 using char_type = CharT;
17 using iterator = const_iterator;
34 [[
nodiscard]]
constexpr auto end()
const noexcept -> const_iterator
46 return static_cast<size_t>(_nextArgId++);
62 ptrdiff_t _nextArgId{};
Definition adjacent_find.hpp:9
Definition basic_format_parse_context.hpp:14
basic_format_parse_context(basic_format_parse_context const &other)=delete
constexpr basic_format_parse_context(basic_string_view< CharT > fmt, size_t numArgs=0) noexcept
Definition basic_format_parse_context.hpp:19
constexpr auto check_arg_id(size_t) -> void
Definition basic_format_parse_context.hpp:49
constexpr auto begin() const noexcept -> const_iterator
Definition basic_format_parse_context.hpp:29
constexpr auto next_arg_id() -> size_t
Definition basic_format_parse_context.hpp:44
auto operator=(basic_format_parse_context const &other) -> basic_format_parse_context &=delete
constexpr auto advance_to(const_iterator it) -> void
Definition basic_format_parse_context.hpp:39
constexpr auto end() const noexcept -> const_iterator
Definition basic_format_parse_context.hpp:34
The class template basic_string_view describes an object that can refer to a constant contiguous sequ...
Definition basic_string_view.hpp:35