
6 May
2009
6 May
'09
1:02 p.m.
John Maddock skrev:
In case your are wondering, then I need this functionality in boost::auto_buffer to get rid of the extra word when the stack-buffer is empty (thus making auto_buffer as small as vector).
Comments?
I haven't looked into this in detail, but what happens on compilers that don't support the EBO?
I have created another test that passes on vc9 ang gcc4.3.2. The test sees if the layout changes depending on a non-empty base class is used or if one uses agregation. I have attached the patch and the new test. Is it ok to commit to trunk? -Thorsten