Boost logo

Boost :

Subject: Re: [boost] [MultiIndex] Recursive data structure with MultiIndex
From: joaquin_at_[hidden]
Date: 2009-05-29 04:13:34


Sebastian Redl escribió:
> joaquin_at_[hidden] wrote:
>
>> multi_index_container *can't* be instantiated with an incomplete type,
>> regardless of the kind of key extractors you're using; as things
>> stands now,
>> instantiating a multi_index_container<T,...> implies the instantiation
>> of its internal
>> node type, which needs to know sizeof(T).
>>
> OK, good to know.
>
> Does multi_index support any move_ptr emulation we have in boost? (Do we
> have any move_ptr emulation in boost?) I can live with making the
> element a pointer, but I'd much rather it not be a raw pointer, and I
> have no use for reference counting overhead either.
>

I think there's no official move pointer in Boost. I don't see any
reason, however,
why a using a move pointer with B.MI shouldn't work.

Joaquín M López Muñoz
Telefónica, Investigación y Desarrollo


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