Boost logo

Boost :

From: David Abrahams (dave_at_[hidden])
Date: 2004-07-08 06:56:41


"Andy Little" <andy_at_[hidden]> writes:

> "Dave Harris" <brangdon_at_[hidden]> wrote
>> In-Reply-To: <cch4as$941$1_at_[hidden]>
>>
>> has no direct equivalent. It becomes:
>> v.clear();
>> v << 1 << 2 << 3;
>
> or v <<= 1 << 2 << 3;

surely not ;-)

*maybe* it would be

        (v <<= 1) << 2 << 3

-- 
Dave Abrahams
Boost Consulting
http://www.boost-consulting.com

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