|
Boost : |
From: Robert Ramey (ramey_at_[hidden])
Date: 2004-08-08 13:38:15
Christoph Ludwig wrote:
>> template<class> struct pack;
>>
>> template<class T> struct pack<void (T)> {
>> typedef T type;
>> };
>>
>> BOOST_CLASS_EXPORT( pack<void (DerivedStatus< Algo<int, double >
>> >)>::type );
>That did the trick! Great!
>I am not sure which of Boost's libraries is the most adequate place for
>such a tool (preprocessor? mpl?), but it is certainly valuable. And if /
>once there is such a tool in Boost, then the documentation of macros that
>are likely to take classes genareted from templates as arguments should
>refer to it.
Hmmm - maybe we should just roll this into export.hpp - Would this create
any other problems?
Robert Ramey
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk