$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
Subject: [Boost-users] tuple memory alignment
From: Sebastian Hegler (sebastian.hegler_at_[hidden])
Date: 2009-10-15 14:53:04
Hi!
I'm currently playing around with boost::tuple and std::vector. I
noticed that having a std::vector containing boost::tuple elements has
"dense" memory layout.
My question: is this intended behavior, or will it go away in the
future? (The current state is much to my advantage: instead of
allocating memory C style and copying lots of data in order to feed
some C API, I can reinterpret_cast a pointer, and everything is fine.)
Thanks
Sebastian