Path: utzoo!utgpu!news-server.csri.toronto.edu!mailrus!cornell!uw-beaver!ubc-cs!alberta!ccu!rpjday From: rpjday@ccu.umanitoba.ca Newsgroups: comp.std.c Subject: Re: the "const" qualifier Message-ID: <1990Aug2.002846.29930@ccu.umanitoba.ca> Date: 2 Aug 90 00:28:46 GMT References: <1990Aug1.005200.21645@ccu.umanitoba.ca> Organization: University of Manitoba, Winnipeg, Canada Lines: 14 In article <1990Aug1.005200.21645@ccu.umanitoba.ca> I write: > Section 3.5.3, line 26, we have, "For two qualified types to be >compatible, both shall have the identically qualified version of a >compatible type..." Does "compatible" mean assignment compatible? >That is, I am not allowed to do > > const int i = 10; > int j; > j = i; ??? > >even though this has no effectg on the value of j? Of course, what I meant was "no effect on the value of i". Sigh.