
20 May
2008
20 May
'08
2:18 p.m.
On Tue, May 20, 2008 at 5:02 PM, Lifshitz, Yair
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
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
);
Would wrapping the argument with in braces not help?
Ex: BOOST_CLASS_EXPORT((KukuBase