Closed dfintha closed 4 months ago
The current implementation simply returns std::nullopt on any kind of failure.
std::nullopt
size_t
std::result::Result
std::expected
The current implementation simply returns
std::nullopt
on any kind of failure.size_t
holds the character index of each token.std::result::Result
orstd::expected
. (Can be omitted by using C++23.)