
9 Jan
2010
9 Jan
'10
9:39 p.m.
Can I use this macro with specialized templates as well?
template <typename T> struct range { T min ; T max ; } ;
BOOST_FUSION_ADAPT_STRUCT( range<double>, (double, min) (double, max) }
I don't see any reason why it shouldn't work. Did you actually try it? Regards Hartmut --------------- Meet me at BoostCon www.boostcon.com