From Jason Turner

[string.streams]

Diff to HTML by rtfpessoa

tmp/tmpafjok613/{from.md → to.md} RENAMED
@@ -83,11 +83,11 @@ namespace std {
83
  virtual pos_type seekpos(pos_type sp,
84
  ios_base::openmode which
85
  = ios_base::in | ios_base::out);
86
 
87
  private:
88
- ios_base::openmode mode; // exposition onlyr
89
  };
90
 
91
  template <class charT, class traits, class Allocator>
92
  void swap(basic_stringbuf<charT, traits, Allocator>& x,
93
  basic_stringbuf<charT, traits, Allocator>& y);
@@ -378,11 +378,11 @@ namespace std {
378
  basic_stringbuf<charT,traits,Allocator>* rdbuf() const;
379
 
380
  basic_string<charT,traits,Allocator> str() const;
381
  void str(const basic_string<charT,traits,Allocator>& s);
382
  private:
383
- basic_stringbuf<charT,traits,Allocator> sb; // exposition onlyr
384
  };
385
 
386
  template <class charT, class traits, class Allocator>
387
  void swap(basic_istringstream<charT, traits, Allocator>& x,
388
  basic_istringstream<charT, traits, Allocator>& y);
@@ -508,11 +508,11 @@ namespace std {
508
  basic_stringbuf<charT,traits,Allocator>* rdbuf() const;
509
 
510
  basic_string<charT,traits,Allocator> str() const;
511
  void str(const basic_string<charT,traits,Allocator>& s);
512
  private:
513
- basic_stringbuf<charT,traits,Allocator> sb; // exposition onlyr
514
  };
515
 
516
  template <class charT, class traits, class Allocator>
517
  void swap(basic_ostringstream<charT, traits, Allocator>& x,
518
  basic_ostringstream<charT, traits, Allocator>& y);
@@ -639,11 +639,11 @@ namespace std {
639
  basic_stringbuf<charT,traits,Allocator>* rdbuf() const;
640
  basic_string<charT,traits,Allocator> str() const;
641
  void str(const basic_string<charT,traits,Allocator>& str);
642
 
643
  private:
644
- basic_stringbuf<charT, traits> sb; // exposition onlyr
645
  };
646
 
647
  template <class charT, class traits, class Allocator>
648
  void swap(basic_stringstream<charT, traits, Allocator>& x,
649
  basic_stringstream<charT, traits, Allocator>& y);
@@ -657,11 +657,11 @@ and writing from objects of class
657
  associated sequence. For the sake of exposition, the maintained data is
658
  presented here as
659
 
660
  - `sb`, the `stringbuf` object.
661
 
662
- ### basic_stringstream constructors <a id="stringstream.cons">[[stringstream.cons]]</a>
663
 
664
  ``` cpp
665
  explicit basic_stringstream(
666
  ios_base::openmode which = ios_base::out|ios_base::in);
667
  ```
@@ -715,11 +715,11 @@ void swap(basic_stringstream<charT, traits, Allocator>& x,
715
  basic_stringstream<charT, traits, Allocator>& y);
716
  ```
717
 
718
  *Effects:* `x.swap(y)`.
719
 
720
- ### Member functions <a id="stringstream.members">[[stringstream.members]]</a>
721
 
722
  ``` cpp
723
  basic_stringbuf<charT,traits,Allocator>* rdbuf() const;
724
  ```
725
 
 
83
  virtual pos_type seekpos(pos_type sp,
84
  ios_base::openmode which
85
  = ios_base::in | ios_base::out);
86
 
87
  private:
88
+ ios_base::openmode mode; // exposition only
89
  };
90
 
91
  template <class charT, class traits, class Allocator>
92
  void swap(basic_stringbuf<charT, traits, Allocator>& x,
93
  basic_stringbuf<charT, traits, Allocator>& y);
 
378
  basic_stringbuf<charT,traits,Allocator>* rdbuf() const;
379
 
380
  basic_string<charT,traits,Allocator> str() const;
381
  void str(const basic_string<charT,traits,Allocator>& s);
382
  private:
383
+ basic_stringbuf<charT,traits,Allocator> sb; // exposition only
384
  };
385
 
386
  template <class charT, class traits, class Allocator>
387
  void swap(basic_istringstream<charT, traits, Allocator>& x,
388
  basic_istringstream<charT, traits, Allocator>& y);
 
508
  basic_stringbuf<charT,traits,Allocator>* rdbuf() const;
509
 
510
  basic_string<charT,traits,Allocator> str() const;
511
  void str(const basic_string<charT,traits,Allocator>& s);
512
  private:
513
+ basic_stringbuf<charT,traits,Allocator> sb; // exposition only
514
  };
515
 
516
  template <class charT, class traits, class Allocator>
517
  void swap(basic_ostringstream<charT, traits, Allocator>& x,
518
  basic_ostringstream<charT, traits, Allocator>& y);
 
639
  basic_stringbuf<charT,traits,Allocator>* rdbuf() const;
640
  basic_string<charT,traits,Allocator> str() const;
641
  void str(const basic_string<charT,traits,Allocator>& str);
642
 
643
  private:
644
+ basic_stringbuf<charT, traits> sb; // exposition only
645
  };
646
 
647
  template <class charT, class traits, class Allocator>
648
  void swap(basic_stringstream<charT, traits, Allocator>& x,
649
  basic_stringstream<charT, traits, Allocator>& y);
 
657
  associated sequence. For the sake of exposition, the maintained data is
658
  presented here as
659
 
660
  - `sb`, the `stringbuf` object.
661
 
662
+ #### basic_stringstream constructors <a id="stringstream.cons">[[stringstream.cons]]</a>
663
 
664
  ``` cpp
665
  explicit basic_stringstream(
666
  ios_base::openmode which = ios_base::out|ios_base::in);
667
  ```
 
715
  basic_stringstream<charT, traits, Allocator>& y);
716
  ```
717
 
718
  *Effects:* `x.swap(y)`.
719
 
720
+ #### Member functions <a id="stringstream.members">[[stringstream.members]]</a>
721
 
722
  ``` cpp
723
  basic_stringbuf<charT,traits,Allocator>* rdbuf() const;
724
  ```
725