Xref: utzoo comp.lang.c++:10775 gnu.g++.help:263 Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!samsung!think.com!huxley!glenn From: glenn@huxley.huxley.bitstream.com (Glenn P. Parker) Newsgroups: comp.lang.c++,gnu.g++.help Subject: Re: using the ellipsis (...) Message-ID: Date: 13 Dec 90 17:58:45 GMT References: <9012112222.AA23214@mishka.rand.org> Sender: glenn@huxley.UUCP Reply-To: (Glenn Parker) Followup-To: gnu.g++.help Organization: Bitstream, Inc. Lines: 15 In-reply-to: shane%mishka@RAND.ORG's message of 11 Dec 90 22:22:53 GMT In article <9012112222.AA23214@mishka.rand.org>, shane%mishka@RAND.ORG (Darrell) writes: > How would one use va_start when no formal arguments are specified in > the argument list? Varadic functions _must_ have at least one non-varadic argument. The premise is (sort of) that you need at least one argument to tell you how many other arguments to expect. Although you could communicate that information through some other mechanism (e.g. global or member variable), it is simply not supported by . -- Glenn P. Parker glenn@bitstream.com Bitstream, Inc. uunet!huxley!glenn 215 First Street BIX: parker Cambridge, MA 02142-1270