The following code excerpt is responsible for a cryptic MSVC++ compiler error:
template class Vec : public vector{
public:
Vec() :
From MSDN: Compiler Error C2143 (C++)
An unqualified call is made to a type in the Standard C++ Library:
// C2143g.cpp
// compile with: /EHsc /c
#include
static vector bad; // C2143
static std::vector good; // OK
This just bit me. You just have to fix your references to vector
, replacing them with std::vector
.