[Bug c++/37480] GCC Allows null-references in C++

rarut at mail dot ru gcc-bugzilla@gcc.gnu.org
Thu Sep 11 11:46:00 GMT 2008



------- 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?id=37480



More information about the Gcc-bugs mailing list