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.
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++