5 Jun
2006
5 Jun
'06
11:03 p.m.
"Robert Ramey"
How does the size of the executable vary. It shouldn't - but if it does that would indicate extra code being instantiated.
Of course it should vary if any classes are exported. The whole point of BOOST_CLASS_EXPORT is to instantiate a piece of code for each element in the cross-product of exported classes and visible archives. If you make more archives visible in the translation unit, more code will necessarily be instantiated (and run at startup). -- Dave Abrahams Boost Consulting www.boost-consulting.com