Path: utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!uwm.edu!bionet!arisia!sgi!shinobu!odin!delrey!shap From: shap@delrey.sgi.com (Jonathan Shapiro) Newsgroups: comp.lang.c++ Subject: Re: private/protected/public implementation Keywords: compiler, keywords Message-ID: <2865@odin.SGI.COM> Date: 16 Jan 90 23:50:30 GMT References: <626@watserv1.waterloo.edu> Sender: news@odin.SGI.COM Distribution: comp Organization: Silicon Graphics, Inc., Mountain View, CA Lines: 7 In article <626@watserv1.waterloo.edu> mgardi@watserv1.waterloo.edu (Mutual Life) writes: >Could someone give me a short description of how the compiler restricts >access to private/protected elements? The restriction is only applied by the compiler at compile time. Since it has seen the declarations, it knows what you are allowed to do.