🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.std.c
Article #1551

Re: the "const" qualifier

#1551
From: rpjday
Date: Thu, 02 Aug 1990 00:28
14 lines
878 bytes
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.
Technical Details
Message-ID: <1990Aug2.002846.29930@ccu.umanitoba.ca>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!mailrus!cornell!uw-beaver!ubc-cs!alberta!ccu!rpjday
References: <1990Aug1.005200.21645@ccu.umanitoba.ca>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!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