Article View: comp.std.c++
Article #3300class/object protection
From: Pierfranco Ferronato
Date: Wed, 07 Feb 1996 17:22
Date: Wed, 07 Feb 1996 17:22
25 lines
1374 bytes
1374 bytes
Hello there! a simple, hope not silly, question. Would't it be reasonable to have object protection instread of class protection in C++ ? Let me say that allowing to access the private attributes of object of the same kind of "this" is not a strictly OO view. bye bye //---------------------------------------------------------------------------- // Quality Software srl // -= the OO Software Factory =- // Via A.Canova 34/5 // 31044 Montebelluna (TV) - Italy // tel: +39-423-600210 // fax: +39-423-302312 // email:qsoft@gpnet.it // www :we are working on it :) [ comp.std.c++ is moderated. Submission address: std-c++@ncar.ucar.edu. Contact address: std-c++-request@ncar.ucar.edu. The moderation policy is summarized in http://reality.sgi.com/employees/austern_mti/std-c++/policy.html ]
Technical Details
Message-ID:
<4fan26$5t3@home.gpnet.it>Path:
arc1-ca.pugleaf.net!engnews1.Eng.Sun.COM!taumet!clamageShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!engnews1.Eng.Sun.COM!taumet!clamage From: qsoft@gpnet.it (Pierfranco Ferronato) Newsgroups: comp.std.c++ Subject: class/object protection Date: 7 Feb 1996 17:22:35 GMT Organization: Quality Software Approved: clamage@eng.sun.com (comp.std.c++) Message-ID: <4fan26$5t3@home.gpnet.it> NNTP-Posting-Host: taumet.eng.sun.com Content-Type: text X-Nntp-Posting-Host: @ts4103.gpnet.it X-Newsreader: NeoLogic News for OS/2 [version: 4.2 UNREGISTERED 12 days remaining] Content-Length: 573 X-Lines: 20 Originator: clamage@taumet