[Bug c++/37480] GCC Allows null-references in C++
--- Comment #1 from rarut at mail dot ru 2008-09-11 11:45 --- Generally reference members when used like this seem to behaive like pointers: - have default constructor (making null reference) - store garbage when when left uninitialized -- http://gcc.gnu.org/bugzilla/show_bug.cgi
[Bug c++/37480] New: GCC Allows null-references in C++
ch is null reference! -- Summary: GCC Allows null-references in C++ Product: gcc Version: 4.2.2 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedB