Topic: Why streambuf::pubsync?


Author: tblancha@evolving.com (Todd Blanchard)
Date: 1995/10/02
Raw View
So what was the rationale for making streambuf::sync protected and
adding a public method pubsync that just calls sync?

I mean apart from gratuitously breaking a boatload of code that
already uses sync.

--
-----------------------------------------------------------------------
Todd Blanchard                                    tblancha@evolving.com
Evolving Systems Inc.                               VOX: (303) 689-1798
                                                    FAX: (303) 689-1399
"Never underestimate the power of stupid people in large groups."
-----------------------------------------------------------------------

---
[ comp.std.c++ is moderated.  Submission address: std-c++@ncar.ucar.edu.
  Contact address: std-c++-request@ncar.ucar.edu.  The moderation policy
  is summarized in http://dogbert.lbl.gov/~matt/std-c++/policy.html. ]