Path: csiph.com!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Tim Rentsch Newsgroups: comp.lang.c++ Subject: Re: C++ named requirements as concepts Date: Mon, 30 Sep 2024 05:29:18 -0700 Organization: A noiseless patient Spider Lines: 35 Message-ID: <86jzet1g0x.fsf@linuxsc.com> References: <86h6a15tuv.fsf@linuxsc.com> <20240929144913.000051e4@yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Injection-Date: Mon, 30 Sep 2024 14:29:18 +0200 (CEST) Injection-Info: dont-email.me; posting-host="e153cd915235505af8c5be8b67e222a3"; logging-data="2357371"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18k2tHEv+ofPEOhYSt7P9AFzQWW5Y3FrSQ=" User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.4 (gnu/linux) Cancel-Lock: sha1:RB6wUqf0HFVMUDweUx02sUyJjzw= sha1:JKUPZe87GXl0bdMAE1wcPEGujJI= Xref: csiph.com comp.lang.c++:120473 Michael S writes: > On Sun, 29 Sep 2024 13:41:27 +0200 > David Brown wrote: > >> On 28/09/2024 17:47, Muttley@dastardlyhq.com wrote: >> >>> On Sat, 28 Sep 2024 17:33:46 +0200 >>> David Brown gabbled: >>> >>>> On 28/09/2024 11:12, Muttley@dastardlyhq.com wrote: >>>> >>>>> On Fri, 27 Sep 2024 18:24:11 +0200 >>>>> Not sure how that differs with value polymorphism. >>>> >>>> I explained that - look at my answer below for another attempt. >>> >>> No you didn't because like Bonita you have no idea what value >>> polymorphism is. >> >> The term "polymorphism" is used in reference to /types/, not >> /values/. I am not new to programming, and have used a large variety >> of languages (including functional programming languages), but have >> not heard the phrase "value polymorphism" before. So I am trying to >> get /you/ to say what /you/ mean by it. Maybe it's just a name you >> and a few other people use for pattern matching. > > May be, 'polymorphism by type of return value' is what he has in mind? We have now learned from a subsequent posting that the language used in the example Muttley gave "was a language used in a specialist task, it wasn't made public." So we aren't able to draw any conclusions about what he meant (and apparently that has been his intention all along - any attempt to elicit more information has resulted in insults and nothing more).