Boost logo

Boost Users :

Subject: Re: [Boost-users] [Fusion] BOOST_FUSION_ADAPT_STRUCT with templated member
From: Nevin Liber (nevin_at_[hidden])
Date: 2012-09-25 13:39:59


On 14 September 2012 14:35, Steven Watanabe <watanabesj_at_[hidden]> wrote:

>
> There's this trick:
> function_traits<void(AB<2, 3>)>::arg1_type.
> Unfortunately, this loses CV qualifiers.
>

That works (and BOOST_IDENTITY_TYPE is just a wrapper around that trick).
I'm not worried about the CV qualifiers, as using them on member variables
is rare in our code base.

Thanks,

-- 
 Nevin ":-)" Liber  <mailto:nevin_at_[hidden]>  (847) 691-1404


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net