Boost logo

Boost :

Subject: Re: [boost] [containers] Implement std::forward_list?
From: Ion Gaztañaga (igaztanaga_at_[hidden])
Date: 2011-08-05 05:34:42


El 05/08/2011 10:29, Lars Viklund escribió:
> Hi.
>
> Will there be any analogous type in the proposed containers library for
> the C++0x std::forward_list [23.3.4 in n3290]? It's essentially a slist
> but without any of the costly operations like size().

There is no at this time, but it wouldn't be hard to implement one, we
just need to change the flag to the internal boost::intrusive::slist to
constant_time_size<false> ;-), and of course fix remaining interface to
make it standard conformant.

Best,

Ion


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