
9 Jan
2010
9 Jan
'10
9:43 p.m.
-----Original Message----- From: boost-users-bounces@lists.boost.org [mailto:boost-users- bounces@lists.boost.org] On Behalf Of Hartmut Kaiser Sent: 09 January 2010 21:39 To: boost-users@lists.boost.org Subject: Re: [Boost-users] BOOST_FUSION_ADAPT_STRUCT
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
It did. I was investigating some obscure error that resulted of me using << instead of >> and I thought it may be because of that, but that was a wrong guess. Thanks,