Boost logo

Boost Users :

Subject: Re: [Boost-users] BOOST_AUTO and boost::fusion
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2011-04-21 10:07:33


AMDG

On 04/21/2011 12:00 AM, Niitsuma Hirotaka wrote:
> This cause err
>
> BOOST_AUTO(xx , boost::fusion::list<double,int,double>(1.12, 3 ,3.4) );
>
>
> How to use BOOST_AUTO with boost::fusion ?
>

Try adding parentheses?

BOOST_AUTO(xx,(boost::fusion::list<double,int,double>(1.12,3,3.4)));

In Christ,
Steven Watanabe




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