|
Boost Users : |
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
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