Path: utzoo!telly!attcan!uunet!tut.cis.ohio-state.edu!MCC.COM!rfg From: rfg@MCC.COM (Ron Guilmette) Newsgroups: gnu.g++.bug Subject: missing warning in G++ 1.33.0 - totally private classes Message-ID: <8902231829.AA00853@riunite.aca.mcc.com> Date: 23 Feb 89 18:29:07 GMT Sender: daemon@tut.cis.ohio-state.edu Distribution: gnu Organization: GNUs Not Usenet Lines: 20 It seem that a class which has absolutely no public or protected member functions or data-members is totally useless. Right? If that is true, then the declaration of any such class should reasonable elicit a warning from the compiler. For instance, class x { int x_private_data; int x_private_method (); }; Is silly. // Ron Guilmette - MCC - Experimental (parallel) Systems Kit Project // 3500 West Balcones Center Drive, Austin, TX 78759 - (512)338-3740 // ARPA: rfg@mcc.com // UUCP: {rutgers,uunet,gatech,ames,pyramid}!cs.utexas.edu!pp!rfg