Re: [Boost-users] [Containers] Marshalling deques
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
participants (1)
-
Brian Wood