Boost logo

Boost Users :

From: Sohail Somani (sohail_at_[hidden])
Date: 2008-04-13 19:36:13


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

Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net