
On Tue, May 20, 2008 at 5:02 PM, Lifshitz, Yair <yair.lifshitz@intel.com> wrote:
While trying to check the reason for BOOST_CLASS_EXPORT not working with templates, I found out the problem is simply a preprocessor issue - it treats each comma as a seperation between values, so it treats a template (as below) as two inputs (and the MACRO accepts only one).
----- Forwarded Message ---- From: Robert Ramey <ramey@rrsd.com> To: boost-users@lists.boost.org Sent: Thursday, May 8, 2008 7:49:08 AM Subject: Re: [Boost-users] Boost serialization: how to register template derivedclass
what you would really need is something like
BOOST_CLASS_EXPORT(KukuBase<int, 5>);
Would wrapping the argument with in braces not help? Ex: BOOST_CLASS_EXPORT((KukuBase<int, 5>)); -dky -- Contents reflect my personal views only!