~ubuntu-branches/ubuntu/trusty/c++-annotations/trusty

« back to all changes in this revision

Viewing changes to yo/iostreams/istreamread.yo

  • Committer: Package Import Robot
  • Author(s): Frank B. Brokken
  • Date: 2011-09-12 16:08:05 UTC
  • mfrom: (1.1.17 upstream)
  • Revision ID: package-import@ubuntu.com-20110912160805-r9dq68beojgzuien
Tags: 9.0.2-1
New upstream release (editorial changes)

Show diffs side-by-side

added added

removed removed

Lines of Context:
23
23
variables can be extracted from tt(istream) objects. There is an overloaded
24
24
rshift() available for the extraction of an tt(int), of a tt(double), of a
25
25
string, of an array of characters, possibly to a pointer, etc. etc.. String or
26
 
character array extraction hi(string extraction) hi(extracting strings)
27
 
by default first skips all white space characters, and will then extract all
28
 
consecutive non-white space characters. Once an extraction operator has been
29
 
processed the tt(istream) object from which the information was extracted is
30
 
returned and it can immediately be used for additional tt(istream)
 
26
character array extraction 
 
27
    hi(string extraction) hi(extracting strings)
 
28
    by default first skips all white space characters, and then extracts
 
29
all consecutive non-white space characters. Once an extraction operator has
 
30
been processed the tt(istream) object from which the information was extracted
 
31
is returned and it can immediately be used for additional tt(istream)
31
32
operations that appear in the same expression.
32
33
 
33
34
    Streams lack facilities for formatted input (as used by, e.g., bf(C)'s