
David Abrahams wrote: [..] Got all that :-)
classes, _static data members_ and member templates; and it causes the implicit instantiation of the definitions of member anonymous unions."
But you missed the most important part of that paragraph ;-)
I didn't really miss it... It would be CW who missed it ;-)
It's not getting called, no matter what. Or more precisely CW is not adding the constructor+instance to the global initialization function list that CW generates.
I think it's a bug and should be reported to MW, but that said, check out boost/python/detail/force_instantiate.hpp, which I use for this exact purpose.
I just did, doesn't help :-( -- -- Grafik - Don't Assume Anything -- Redshift Software, Inc. - http://redshift-software.com -- rrivera/acm.org - grafik/redshift-software.com -- 102708583/icq - grafikrobot/aim - Grafik/jabber.org