Boost logo

Boost :

From: Alisdair Meredith (alisdair.meredith_at_[hidden])
Date: 2002-11-16 10:46:07


Pavol Droba wrote:

To pick on a function at random...

> Seq ltrim( const Seq& Input, const std::locale& Loc=std::locale() )

Why the default to std::locale?

In typical use, I expect Seq to be an instantiation of
std::basic_string. Given this is a string library, what motivation is
there to support other containers? If none, then why not default to
locale of the string-type?

-- 
AlisdairM

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk