$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
Subject: Re: [Boost-users] BOOST_FUSION_ADAPT_STRUCT
From: Hartmut Kaiser (hartmut.kaiser_at_[hidden])
Date: 2010-01-09 16:39:06
> 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