Boost logo

Boost Users :

Subject: Re: [Boost-users] [Fusion] issues when adapting an existing structure
From: Sean Farrow (sean.farrow_at_[hidden])
Date: 2011-07-25 14:36:34


Hi Dominique:
This works fantastically!
Thank you.
Cheers
Sean.

-----Original Message-----
From: boost-users-bounces_at_[hidden] [mailto:boost-users-bounces_at_[hidden]] On Behalf Of Dominique Devienne
Sent: 25 July 2011 18:53
To: boost-users_at_[hidden]
Subject: Re: [Boost-users] [Fusion] issues when adapting an existing structure

On Mon, Jul 25, 2011 at 12:28 PM, Sean Farrow
<sean.farrow_at_[hidden]> wrote:
> If I compile this with the std::vector<std::pair<std::wstring, std::wstring>
>> taken out, this works fine. However replacing the vector of pairs doesn't
> compile.
>
> How can I get this to work?

Have you tried with a typedef for std::vector<std::pair<std::wstring,
std::wstring> >?

The nested comma-space for the template arguments of vector<> is
likely confusing the PP machinery. But I'm no expert. --DD
_______________________________________________
Boost-users mailing list
Boost-users_at_[hidden]
http://lists.boost.org/mailman/listinfo.cgi/boost-users


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