Originally created by: daniele....@gmail.com
Originally owned by: daniele....@gmail.com
What steps will reproduce the problem?
The code:
WALLAROO_REGISTER( Foo<double> )
or
WALLAROO_DYNLIB_REGISTER( Foo<double> )
produces a compiler error due to the macro expansion.
Technical note:
the issue can be solved using the following code:
#define TOKENPASTE(x, y) x ## y
#define TOKENPASTE2(x, y) TOKENPASTE(x, y)
#define WALLAROO_REGISTER( C, ... ) \
static const ::wallaroo::Registration< C, ##__VA_ARGS__ > TOKENPASTE2(__reg__,__LINE__)( #C ) ;
View and moderate all "tickets Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Tickets"
Originally posted by: daniele....@gmail.com
(No comment was entered for this change.)
Status: Fixed