Article View: comp.lang.c
Article #730Re: variadic min and max, (any some and none, cat and more)
From: chine.bleu
Date: Sat, 24 Oct 2026 10:37
Date: Sat, 24 Oct 2026 10:37
19 lines
2249 bytes
2249 bytes
bartc wrote: > For this purpose, where all elements are expected to be the same type, > then passing a list is more appropriate, and more type-safe. Especially > when 'min_func' has a specific return type anyway. In general the function argument types might not be known. An actual argument list might have 1 byte argument, a 17 byte argument, a 4 byte argument, 128 byte argument. In languages and environments where the type of each argument is declared, calls can pass arguments with specialised protocols. Otherwise the arguments are passed usually where any C function is compatiable or Fortran subprogram compatiable. -- Siri Seal of Disavowal #777-000. Disavowed. Denied. @ NO KINGS For I desire mercy not sacrifice. /|\ The Church of the Holey Apple .signature 5.5 / \ of Discordian Mysteries. This post insults Islam. Mohamed
Technical Details
Message-ID:
<11bi1pg$2ke58$2@dont-email.me>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mailReferences:
<11bes8b$1gncr$1@dont-email.me> <11bf84v$1jkb5$1@dont-email.me> <11bfdcs$1mvrv$1@dont-email.me>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mail From: "chine.bleu" <chine.bleu@yahoo.com> Newsgroups: comp.lang.c Subject: Re: variadic min and max, (any some and none, cat and more) Date: Sat, 24 Oct 2026 03:37:36 -0700 Organization: semi-chaotic Lines: 19 Message-ID: <11bi1pg$2ke58$2@dont-email.me> References: <11bes8b$1gncr$1@dont-email.me> <11bf84v$1jkb5$1@dont-email.me> <11bfdcs$1mvrv$1@dont-email.me> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Date: Sat, 24 Oct 2026 10:37:37 +0000 (UTC) Injection-Info: dont-email.me; logging-data="2767016"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19ZSLZQglfgwN1IsrZ+y7QdFhBN8prHtrw="; posting-host="c5e99e91e1d4e6f0065071aa5358e1f2" User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:32.0) Gecko/20100101 Firefox/32.0 SeaMonkey/2.29.1 Cancel-Lock: sha1:WsKFtf4i7AgHv8DFqnFKQT+ZpmE= sha256:Pg366Ky/oam74XgAsUGvYK2eBS0w2RSfgHz5ityM5xQ= sha1:bBQrtbxGNZJ++yEK5nRsanxh7jc= sha256:nHe23GLtjaHw0h/Z1JKEIgdQ1UFyJPC4avT6RW6QkOc= In-Reply-To: <11bfdcs$1mvrv$1@dont-email.me>