c++ - Why are eback() and pbase() in std::basic_streambuf named differently? -
presumably names stuck compatibility, why not given similar names originally? gptr()
/ pptr()
, egptr()
/ epptr()
consistent, eback()
particularly confusing, gbase()
used elsewhere?
the closest thing find towards possible answer book standard c++ iostreams , locales: advanced programmer's guide , reference. in book, angelika langer talks actual creators of standard iostream library , compiles information rationale behind design decisions regarding implementation, naming, , litany of other useful , important things.
the preface of book does mention 6 pointers the , put areas of streambuf objects. perhaps goes more detail on names. either way, still read.
Comments
Post a Comment