rapidyaml 0.14.0
parse and emit YAML, and do it fast
Loading...
Searching...
No Matches
c4::basic_substring< C >::first_of_any_result Struct Reference

#include <substr.hpp>

Public Member Functions

 operator bool () const

Public Attributes

size_t which
size_t pos

Detailed Description

template<class C>
struct c4::basic_substring< C >::first_of_any_result

Definition at line 788 of file substr.hpp.

Member Function Documentation

◆ operator bool()

template<class C>
c4::basic_substring< C >::first_of_any_result::operator bool ( ) const
inline

Definition at line 792 of file substr.hpp.

792{ return which != NONE && pos != npos; }
a non-owning string-view, consisting of a character pointer and a length.
Definition substr.hpp:212

Member Data Documentation

◆ which

template<class C>
size_t c4::basic_substring< C >::first_of_any_result::which

Definition at line 790 of file substr.hpp.

◆ pos

template<class C>
size_t c4::basic_substring< C >::first_of_any_result::pos

Definition at line 791 of file substr.hpp.


The documentation for this struct was generated from the following file:
  • /home/docs/checkouts/readthedocs.org/user_builds/rapidyaml/checkouts/v0.14.0/ext/c4core/src/c4/substr.hpp