Quote:
The second function extracts up to _Count - 1 elements and stores them in the array beginning at _Str. It always stores char_type after any extracted elements it stores. In order of testing, extraction stops:
* At end of file.
* After the function extracts an element that compares equal to _Delim, in which case the element is neither put back nor appended to the controlled sequence.
* After the function extracts _Count - 1 elements.
If the function extracts no elements or _Count - 1 elements, it calls setstate(failbit). In any case, it returns *this.