rapidyaml 0.14.0
parse and emit YAML, and do it fast
Loading...
Searching...
No Matches
neutral version for use in generic code

Functions

substr c4::to_substr (substr s) noexcept
csubstr c4::to_csubstr (substr s) noexcept
csubstr c4::to_csubstr (csubstr s) noexcept

Detailed Description

Function Documentation

◆ to_substr()

substr c4::to_substr ( substr s)
inlinenoexcept

Definition at line 2422 of file substr.hpp.

2422{ return s; }

◆ to_csubstr() [1/2]

csubstr c4::to_csubstr ( substr s)
inlinenoexcept

Definition at line 2423 of file substr.hpp.

2423{ return csubstr{s.str, s.len}; }
basic_substring< const char > csubstr
an immutable string view
Definition substr.hpp:2357
size_t len
the length of the substring
Definition substr.hpp:218
C * str
a restricted pointer to the first character of the substring
Definition substr.hpp:216

◆ to_csubstr() [2/2]

csubstr c4::to_csubstr ( csubstr s)
inlinenoexcept

Definition at line 2424 of file substr.hpp.

2424{ return s; }