
"Pavel Vozenilek" <pavel_vozenilek@hotmail.com> writes:
"Shunsuke Sogame" wrote:
Joel de Guzman wrote:
Jeff Garland wrote:
std::string dst(...) range_copy(rng|to_upper|to_lower|to_upper, dst);
Me, I prefer the immutable and functional approach:
to_upper(to_lower(to_upper(rng)))
The super string was intended to be something familiar and easy to use for users.
The functional syntax is not common in C++,
You don't use function calls?
immutability will be feared as inefficient and the pipe syntax is completely novel.
Something as
superstring s; s.do_this().do_that();
has a chance to be used in spite of having large API.
Maybe. It could also still be functional as (for strings) it is in Python. -- Dave Abrahams Boost Consulting www.boost-consulting.com