Boost logo

Boost :

From: Giovanni Bajo (giovannibajo_at_[hidden])
Date: 2003-04-19 16:04:36


(sorry for the previous empty post)

Hello,

Since the aligned storage "wastes" bytes to align the type, is it possible
to place the boolean "m_initialized" within the alignment padding?
Basically, you could define dummy.data[] one byte bigger, and use it for
m_initialized. This way, you could save space in many situations.

I would propose a patch but I don't understand all the details of the
alignment issues. Besides, I'm not sure it would be legal to do so.

Thanks

--
Giovanni Bajo

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk