Re: c++/3827: new int problem.

2001-07-30 Thread Franck Branjonneau
Bonjour, Le 26 juillet 2001, Gabriel Dos Reis a écrit : > This is not a bug in the compiler. Yes ! I apologize for the inconvenient. -- Boujou t'chu tè. Franck Branjonneau <[EMAIL PROTECTED]>

Re: c++/3827: new int problem.

2001-07-26 Thread Gabriel Dos Reis
[EMAIL PROTECTED], [EMAIL PROTECTED] writes: | template< typename T, int role, bool ndebug > | struct init { | static T * do_it() { | T* tmp(new T); | std::cout << "/tmp/ point to: " << *tmp << "\n"; | return tmp; | } | }; | /tmp/ point to: 0 | /tmp/ point to: 107

new int problem.

2001-07-25 Thread fasbjx
>Submitter-Id: net-debian >Originator:Franck Branjonneau >Organization: >Confidential: no >Synopsis: No initialization of an int allocated with new int. >Severity: serious >Priority: medium >Category: c++ >Class: wrong-code >Release: 3.0 (Debian) (Deb