|
Boost : |
From: Jan Gaspar (jano_gaspar_at_[hidden])
Date: 2008-06-16 11:33:19
Probably yes if someone implements this for vector and deque first.
----- Original Message ----
From: Thorsten Ottosen <thorsten.ottosen_at_[hidden]>
To: Jan Gaspar <jano_gaspar_at_[hidden]>
Cc: "boost_at_[hidden]" <boost_at_[hidden]>
Sent: Monday, 16 June, 2008 4:33:25 PM
Subject: [circular_buffer] encapsulation problems
Hi Jan,
Have you ever seen
http://www.open-std.org/JTC1/SC22/WG21/docs/papers/2007/n2212.html
?
I'm implementing some simple map data-struture as a wrapper around
boost::circular_buffer<boost::optional<Pod>>. In my copy-constructor I
want to memcpy into a newly created circular_buffer of the correct size,
but that is not really possible. In n2212 I outline a solution to this
problem. Would you consider to implement them?
I think the functions will also make circular_buffer more efficient for
use in MPI and Asio.
-Thorsten
__________________________________________________________
Sent from Yahoo! Mail.
A Smarter Email http://uk.docs.yahoo.com/nowyoucan.html
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk