
25 Jul
2011
25 Jul
'11
5:52 p.m.
On Mon, Jul 25, 2011 at 12:28 PM, Sean Farrow <sean.farrow@seanfarrow.co.uk> 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