26.3 The ADAPTER Pattern (cont.)
The
>>
operator repeatedly calls
get()
, then assembles the integer
istringstream
defines a
get
function to obtain the characters from a string, using
string::operator[]
Example of the ADAPTER pattern
prev
|
top
|
next