Boost logo

Boost :

Subject: Re: [boost] [multi_index]: Migration of code to VS12 does not compile anymore
From: Brian Wood (woodbrian77_at_[hidden])
Date: 2014-08-11 13:37:19


Johannes Brunen writes:
>Hello,
>
>
> I'm porting some code fromVS10 to the VS12 compiler on windows. I have a
>problem compiling code like the following:

Clang didn't like the code either:

clang++ -c -I ../boost-1_56_0_b1/ mi.cc
mi.cc:21:35: error: use 'template' keyword to treat 'nth_index' as a
dependent template name
typedef typename container_t::template nth_index<0>::type sequence_index_t;
                                             ^

1 error generated.

-- 
Brian
Ebenezer Enterprises - So far G-d has helped us.
http://webEbenezer.net

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk