Does anyone use any of the STL port containers/iterators in there PF games?
I'm trying to use slist but get the following compile errors:
I have included <slist>, and the line of code that it is complaining about is:
Any one any ideas?
I'm trying to use slist but get the following compile errors:
- Code:
D:\FMSce\Src\FMSce.cpp(777) : error C2653: 'slist<int,class _STL::allocator<int> >' : is not a class or namespace name
D:\FMSce\Src\FMSce.cpp(777) : error C2065: 'const_iterator' : undeclared identifier
D:\FMSce\Src\FMSce.cpp(777) : error C2146: syntax error : missing ';' before identifier 'it'
D:\FMSce\Src\FMSce.cpp(777) : error C2065: 'it' : undeclared identifier
I have included <slist>, and the line of code that it is complaining about is:
- Code:
slist<int>::const_iterator it;
Any one any ideas?