BloombergLP::bdlb::Tokenizer::reset

reset overloads

Synopses

Declared in <bdlb_tokenizer.h>

Same as the preceding overload for a string_view input.

void
reset(std::string_view const& input);
» more...

Rebind this object to refer to the specified sequence of input characters. The state of the tokenizer following this call is as if it had been constructed with input and its current sets of soft and hard delimiter characters. The behavior is undefined if this object is used in any way (other than to reset or destroy it) after its underlying input string is modified. Note that supplying a default constructed string_view is equivalent to supplying an empty c-string (i.e., "").

void
reset(char const* input);
» more...