qxLib
Static Public Member Functions | List of all members
qx::string_view_iterator< char_t > Class Template Reference

Iterator class that allows to iterate over a string view using a delimiter character. More...

#include <string_view_iterator.h>

Static Public Member Functions

static constexpr string_view_iterator begin (value_type svFull, char_t chDelimiter, flags< delimiter_inclusion_flags > eDelimiterInclusionFlags=delimiter_inclusion_flags::none)
 Return iterator to beginning. More...
 
static constexpr string_view_iterator end ()
 Return iterator to end. More...
 

Detailed Description

template<class char_t>
class qx::string_view_iterator< char_t >

Iterator class that allows to iterate over a string view using a delimiter character.

This class is not supposed to use manually,

See also
string_view_view
Template Parameters
char_t- char type
Author
Khrapov
Date
24.10.2023

Definition at line 37 of file string_view_iterator.h.

Member Function Documentation

◆ begin()

template<class char_t >
constexpr string_view_iterator< char_t > qx::string_view_iterator< char_t >::begin ( value_type  svFull,
char_t  chDelimiter,
flags< delimiter_inclusion_flags >  eDelimiterInclusionFlags = delimiter_inclusion_flags::none 
)
staticconstexpr

Return iterator to beginning.

Parameters
svFull- string to iterate
chDelimiter- delimiter character
eDelimiterInclusionFlags- flags that determine whether to include delimiters in parts when iterating
Return values
-iterator to beginning

Definition at line 14 of file string_view_iterator.inl.

◆ end()

template<class char_t >
constexpr string_view_iterator< char_t > qx::string_view_iterator< char_t >::end
staticconstexpr

Return iterator to end.

Return values
-iterator to end

Definition at line 23 of file string_view_iterator.inl.


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