list is not a member of std?!

  • Thread starter Thread starter loquak
  • Start date Start date
L

loquak

Greets.

Am I doing something wrong here, but why does the following line give me the
abovementioned error message?

private: std::list<CSomeItem> m_SomeList;

I think VC7.0 is fully ISO compliant, so what goes?
 
loquak said:
Greets.

Am I doing something wrong here, but why does the following line give me the
abovementioned error message?

private: std::list<CSomeItem> m_SomeList;

did you #include said:
I think VC7.0 is fully ISO compliant, so what goes?

VC7.0 is far from fully ISO compliant (7.1 is much closer), but std::list
works just fine. If the problem is more than simply not #including <list>,
please post a small but complete example that reproduces the problem you're
seeing.

-cd
 
Back
Top