On 07:32 Sat 15 Oct , degski wrote:
On 15 October 2016 at 05:43, Michael Marcin
wrote: Does this already exist somewhere?
Take a look at Boost.DoubleEnded 1 http://erenon.hu/double_ended/ and see whether boost::double_ended::batch_deque http://erenon.hu/double_ended/double_ended/design_rationale.html#double_ende... fills all of your requirements.
This might work for some SoA types where all fields have the same type. In practice that's not generally the case though. Cheers -Andreas -- ========================================================== Andreas Schäfer HPC and Supercomputing Institute for Multiscale Simulation Friedrich-Alexander-Universität Erlangen-Nürnberg, Germany +49 9131 85-20866 PGP/GPG key via keyserver http://www.libgeodecomp.org ========================================================== (\___/) (+'.'+) (")_(") This is Bunny. Copy and paste Bunny into your signature to help him gain world domination!