'vector' was not declared in this scope

Jonathan Wakely jwakely.gcc@gmail.com
Sat Apr 23 19:14:00 GMT 2011


On 23 April 2011 09:06, ales88 wrote:
>
> The error happens either with std:: or since.

How are you compiling it? The example is not valid C++03 because
'neigh' is a local class, so is not a valid template argument for
std::vector



More information about the Gcc-help mailing list