HELP : visualC++ with STL roguewave => errorC2079(first' uses undefined class...
Hello,
I get this error while compiling with visualc++ and STL roguewave. With
STL microsoft everything work fine.
XXXData.cpp
f:\xxxxx\product\rw\rcb1.2.0\rm\include\rw\_pair.h(63) : error C2079:
'first' uses undefined class 'Node'
f:\xxxxx\product\rw\rcb1.2.0\rm\include\vector(404) : see
reference to class template instantiation 'std::pair<class Node,bool>'
being compiled
f:\xxxxxx\indexedvector.hpp(175) :
see reference to class template instantiation 'std::vector<struct
std::pair<class Node,bool>,class
std::allocator<struct std::pair<class Node,bool> >
>' being compiled
f:\xxxxxx\node.hpp(147) :
see reference to class template instantiation 'xxx::IndexedVector<class
Node>' being compiled
Generating Code...
Error executing cl.exe.
=================================================
in f:\xxxxxx\indexedvector.hpp(175) : code is
static vector <pair <T, bool> > make_data (const vector <T>&
data);
// Data Members for Class Attributes
vector <pair <T, bool> > _data;
==================================================
What I understand as it's not possible to compile with visual c++ and
using roguewave STL this kind of code =>
class Tempo
{
...
std::vector<std::pair<Tempo,bool>> _data;
}
thanks