can std::list be used in components code ?

Hello,

I want to use a std::list in components code, but when I do this, it doesn't compile whereas if I use std::vector, I have no problems. What can be the reason ?

Stefaan

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

can std::list be used in components code ?

On Tuesday 30 September 2008 12:30:48 sspr [..] wrote:
> Hello,
>
> I want to use a std::list in components code, but when I do this, it
> doesn't compile whereas if I use std::vector, I have no problems. What can
> be the reason ?

Did you

  1. include <list>

?

Peter

can std::list be used in components code ?

No,

And indeed the problem is solved when I include it.
Thank you
Stefaan