Boost logo

Boost :

From: Toon Knapen (toon.knapen_at_[hidden])
Date: 2004-05-28 07:12:03


Jonathan Wakely wrote:

> On Fri, May 28, 2004 at 12:57:56PM +0200, Toon Knapen wrote:
>
>
>>Apparantly vacpp has a problem on lines 97,98 and 99 of
>>boost/test/detail/basic_cstring/basic_cstring.hpp.
>> self_type& trim_left(self_type exclusions = self_type() ) ; // line 97
>
> How about overloading the function to remove the default arg?
>
> self_type& trim_left(self_type exclusions);
>
> self_type& trim_left() { return trim_left(self_type()); }

Even better and works fine too.


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