Topic: std::string usage/code samples?


Author: "Mark Zeren" <zeren@pobox.com>
Date: 1999/02/17
Raw View
I've just started working with std::string and have found its pos,count
parameter style to conflict with standard STL iterator-based idioms. Why did
the standard adopt this approach? Does anyone have a good explaination or
set of code examples that describe how to use std::string concisely, safely,
and as intended by the designers?

---
Mark Zeren - zeren@pobox.com
---
[ comp.std.c++ is moderated.  To submit articles, try just posting with ]
[ your news-reader.  If that fails, use mailto:std-c++@ncar.ucar.edu    ]
[              --- Please see the FAQ before posting. ---               ]
[ FAQ: http://reality.sgi.com/austern_mti/std-c++/faq.html              ]