
13 Apr
2008
13 Apr
'08
11:36 p.m.
Peter Dimov wrote: [snip]
Maybe the serialization library could provide an alternative function-based registration mechanism that would be immune to the static library problem. Or maybe it already provides it:
guid_initializer< T >().export_guid( "T" );
This is less convenient, but has the advantage of working. :-)
As long as ADL works on your compiler. I think for maximum portability, you need to use register_type and void_cast_register. Theoretically anyway. -- Sohail Somani http://uint32t.blogspot.com