Path: utzoo!attcan!uunet!husc6!rutgers!cmcl2!adm!smoke!gwyn From: gwyn@smoke.BRL.MIL (Doug Gwyn ) Newsgroups: comp.lang.c Subject: Re: Re^2: Question on const applied to typedef'd pointer Message-ID: <9759@smoke.BRL.MIL> Date: 1 Mar 89 09:24:48 GMT References: <9078@elsie.UUCP> <9709@smoke.BRL.MIL> <9081@elsie.UUCP> <9748@smoke.BRL.MIL> <2107@solo11.cs.vu.nl> Reply-To: gwyn@brl.arpa (Doug Gwyn (VLD/VMB) ) Organization: Ballistic Research Lab (BRL), APG, MD. Lines: 8 In article <2107@solo11.cs.vu.nl> maart@cs.vu.nl (Maarten Litmaath) writes: >How about applying `const' to the outer level? Seems natural, seems simple. That's what happens, but it's not what ADO was after. Your examples applied "const" to the INNER level; that is completely contrary to the normal type scheme and runs counter to the notion of a typedef name being a sort of "pre-packaged" type.