Xref: utzoo comp.lang.c:13720 comp.std.c:474 Path: utzoo!attcan!uunet!lll-winken!lll-tis!ames!mailrus!tut.cis.ohio-state.edu!bloom-beacon!mcgill-vision!iros1!vedge!lai From: lai@vedge.UUCP (David Lai) Newsgroups: comp.lang.c,comp.std.c Subject: (&f())->member, was: union *func() Keywords: union, pointers, functions Message-ID: <1799@vedge.UUCP> Date: 31 Oct 88 20:43:03 GMT Reply-To: lai@vedge.UUCP (David Lai) Organization: Visual Edge Software, St. Laurent, PQ Lines: 14 References: In previously mentioned that -> operator required an lvalue, sorry, what I was thinking about is the & operator. On a related issue, the C language specifies that a function call is never an lvalue, yet most compilers I've used allow: struct xxx f(); dummy = (&f())->member; Does anyone know if this is contrary to ANSI? -- "What is a DJ if he can't scratch?" - Uncle Jamms Army The views expressed are those of the author, and not of Visual Edge, nor Usenet. David Lai (vedge!lai@larry.mcrcim.mcgill.edu || ...watmath!onfcanim!vedge!lai)