|
Boost : |
From: Jonathan Turkanis (technews_at_[hidden])
Date: 2005-05-15 13:44:01
JOAQUIN LOPEZ MU?Z wrote:
>> I'm thinking of using the following syntax for polymorphic
>> container wrappers
>> (stealing from Andrei):
>>
>> sequence - sequence of anything
>> sequence::of<T> - sequence of T's
>> iterator - any iterator (more or less)
>> iterator::over<T> (or of<T>) - any iterator over T's
>
> Is this container wrapper stuff further elaborated somewhere
> I can take a look at?
Not yet. As soon as more information is available, I'll post an announcment
here.
>>> PS: Just for motivation, I' think this idiom could be taken
>> advantage> of in a possible implementation of a dynamic multi-
>> index container.
>>
>> Sounds great!
> The rationale is, in a multi-index container where indices
> are added at run-time, some sort of dynamic polymorphism
> is called for when retrieveing and using the indices, much in
> the vein of the poly container wrappers.
Sound very interesting; I hope the Interfaces library can help.
Jonathan
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk