|
Boost Users : |
Subject: Re: [Boost-users] [serialization] export.hpp changes from 1.37 to 1.38
From: Emil Dotchevski (emildotchevski_at_[hidden])
Date: 2009-02-13 19:15:41
On Fri, Feb 13, 2009 at 3:55 PM, Chard <boost_at_hazlewoods.eu> wrote:
> The BOOST_CLASS_EXPORT.. macros have been moved into a detail namespace
> (1.38) from a (public) anonymous namespace (1.37).
> <snip>
> Our current workaround is to use the archive.register_type<...> method, and
> ignore the export macros, but this does mean ensuring all types are covered
> (as described in the documentation).
This is the better approach IMO anyway because in some typical uses of
the automatic registration the C++ standard allows the compiler to
deadstrip it.
Emil Dotchevski
Reverge Studios, Inc.
http://www.revergestudios.com/reblog/index.php?n=ReCode
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