Attribute transference from callbacks?
Manu
turkeyman at gmail.com
Mon Dec 9 06:51:26 UTC 2024
On Mon, 9 Dec 2024 at 03:51, Monkyyy via Digitalmars-d <
digitalmars-d at puremagic.com> wrote:
> On Sunday, 8 December 2024 at 05:54:40 UTC, Manu wrote:
> >
> > Surely people have had better ideas? No, no templates;
>
> I'm pretty sure this only could work with templates and with
> templates it would just happen.
>
This doesn't *require* templates. Obviously there is a template solution,
but I'm very sensitive to code repetition and template bloat.
I'm pretty bored of D's "everything is templates" mentality; it's one of
D's biggest attractions, and also D's single biggest trap.
We need to work towards making more things sane without resorting to the
sledgehammer.
Or better yet, be inlined by the optimizer using function
> litteralls
>
This is not about inlining; these functions are not to be inlined.
> "How do I get rid of this bruise on my head, no without stopping
> hitting my head with the hammer, surely someone with medical
> skills could actually help me"
>
🤨
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puremagic.com/pipermail/digitalmars-d/attachments/20241209/18aa8647/attachment-0001.htm>
More information about the Digitalmars-d
mailing list