C++ Logo

std-proposals

Advanced search

Re: [std-proposals] Fwd: Extension to runtime polymorphism proposed

From: Thiago Macieira <thiago_at_[hidden]>
Date: Tue, 07 Apr 2026 20:05:03 -0700
On Tuesday, 7 April 2026 19:22:09 Pacific Daylight Time Muneem via Std-
Proposals wrote:
> For
> example:
> {1, 2, 2.2} selector(int);
> Type_set(selector) X=Selector(1);
> Type_set(selector) Y=Selector(2);
> Int a= X+Y+X*Y;

This doesn't make sense. Did you really mean Int with a capital I? If that's
your email client doing it, *get a better client*.

Muneem, we've been at this for a week now. With hundreds of emails back and
forth, I can confidently say no one has understood what you want. You need to
change your approach.

People have asked questions for clarification you have not answered. Please
stop doing that. Say "I don't know how to answer this", "I did not understand
the question", "I will reply later", "I don't think it's a good use of my time
to reply to this", or something. But take the time to read all the questions
and do reply.

In particular, we've asked you for code that makes sense. Start with
*existing* code of how something would be done. Start small, with very simple
examples. Make sure the code compiles, by putting it into godbolt.org and
sending us the link to the code. Then provide a side-by-side comparison of how
it would look like with the feature. Of course it won't compile at that point,
but please try to keep the code correct elsewhere, like "int" and "template"
with lowercase.

Then build up the complexity, showing how it would become useful for real-
world scenarios. Which you claim to be widespread, so it should not be difficult
to find a handful of examples to modify.

Also, since you seem to be proposing at least three different features in one
go, build them up separately.

-- 
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
  Principal Engineer - Intel Data Center - Platform & Sys. Eng.

Received on 2026-04-08 03:05:10