Path: utzoo!attcan!uunet!cs.utexas.edu!usc!orion.oac.uci.edu!uci-ics!gateway From: rfg@paris.ics.uci.edu (Ron Guilmette) Newsgroups: comp.lang.c++ Subject: cfront 2.0 bug 900205.02 Message-ID: <25D0BF4F.1519@paris.ics.uci.edu> Date: 8 Feb 90 00:37:35 GMT Organization: UC Irvine Department of ICS Lines: 25 // cfront 2.0 bug 900205.02 // cfront disallows constructors to be defined which do not include // initializations for reference members of their associated classes, // however this is only checked for constructors which are defined within // their associated class definitions. int i; class c0 { int &int_ref; public: c0 () /* : int_ref(i) */ { /* ERROR - caught */ } }; class c1 { int &int_ref; public: c1 (); }; c1::c1() /* : int_ref(i) */ { /* ERROR - missed */ }