Rebind this object to refer to the specified sequence of input characters.

Synopsis

Declared in <bdlb_tokenizer.h>

void
reset(char const* input);

Description

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., "").

Parameters

Name

Description

input

null‐terminated character sequence to tokenize

Created with MrDocs