Boost logo

Boost :

From: Rene Rivera (grafik.list_at_[hidden])
Date: 2004-08-12 16:01:07


Christoph Ludwig wrote:

[snip]
> a look at the preprocessor library but I couldnt come up with a
> solution. Is there an alternative to the macros for registering types?
> (A sample program exhibiting what I am trying is attached.)
[snip]
> // Doesn't work (wrong number of macro arguments ):
> // BOOST_CLASS_EXPORT( DerivedStatus< Algo< int, double > > );

Did you try using BOOST_PP_COMMA ?? For example:

BOOST_CLASS_EXPORT( DerivedStatus< Algo< int BOOST_PP_COMMA double > > );

-- 
-- Grafik - Don't Assume Anything
-- Redshift Software, Inc. - http://redshift-software.com
-- rrivera/acm.org - grafik/redshift-software.com - 102708583/icq

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk