Boost logo

Boost Users :

Subject: Re: [Boost-users] [Fusion] issues when adapting an existing structure
From: Dominique Devienne (ddevienne_at_[hidden])
Date: 2011-07-25 13:52:38


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 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