Path: utzoo!mnetor!uunet!lll-winken!lll-lcc!ames!hao!gatech!bloom-beacon!athena.mit.edu!tada From: tada@athena.mit.edu (Michael Zehr) Newsgroups: comp.lang.c Subject: Re: ANSI C idea: structure literals Message-ID: <3393@bloom-beacon.MIT.EDU> Date: 2 Mar 88 00:18:50 GMT References: <56@vsi.UUCP> <1988Feb28.130526.4147@jarvis.csri.toronto.edu> <2804@haddock.ISC.COM> Sender: daemon@bloom-beacon.MIT.EDU Reply-To: tada@athena.mit.edu (Michael Zehr) Organization: Massachusetts Institute of Technology Lines: 11 Keywords: ANSI, structure literals In article <1988Feb28.130526.4147@jarvis.csri.toronto.edu> flaps@dgp.toronto.edu (Alan J Rosenthal) writes: >This is good. It is an analogue of what happens with strings. It would be >good to extend this to arrays and other things. For example, why not be able >to write "&3" to get a pointer to int which points to a 3? Actually, VAX C 2.2 allows this, although it's completely non-portable, of course. ------- michael j zehr "My opinions are my own ... as is my spelling."