Re: How set an iterator to NULL

2005-09-20 Thread chris jefferson
Michael Cieslinski wrote: >Since last week this small program does no longer compile. >My question are: >Is this correct or should I file a bug report? >How is it possible to initialize an iterator to NULL? > > > A patch was recently submitted specifically to stop this working, as it shouldn't.

How set an iterator to NULL

2005-09-20 Thread Michael Cieslinski
Since last week this small program does no longer compile. My question are: Is this correct or should I file a bug report? How is it possible to initialize an iterator to NULL? Michael Cieslinski #include struct S { int x; }; std::list::iterator IT; void Init() { IT = NULL; } g++