Boost logo

Boost Users :

Subject: Re: [Boost-users] [Containers] Marshalling deques
From: Brian Wood (woodbrian77_at_[hidden])
Date: 2011-08-24 18:31:22


Ion Gazta?aga:
El 24/08/2011 20:06, Brian Wood escribi?:
>>
>> If I could get the number of elements in the first chunk and the
>> size of the chunks, that would be sufficient. (I believe the size
>> of the chunks is constant within a deque instance.)
>
> Not necessarily, but I think all implementations do that. The question
> is whether we should have a standard-friendly and implementation
> agnostic interface or an interface just for boost::deque implementation.

How about both? First a boost::deque implementation and then
if someone is inclined to delve into this further a more general
implementation that might replace the earlier implementation.
Since this wasn't addressed by C++11, I'm not sure how long it
will take to get attention. If the interface we come up with has
weaknesses, someone else will figure out how to improve
upon it.

Regards,
Brian Wood
Ebenezer Enterprises
http://webEbenezer.net



Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net