How about some __initialize magic?
Stanislav Blinov
stanislav.blinov at gmail.com
Sun Nov 28 19:30:11 UTC 2021
On Sunday, 28 November 2021 at 16:36:05 UTC, russhy wrote:
> this is the exact same issue
No, it isn't.
> It's the same with enums
No, it isn't.
> And now you want to same for everything else
No, I don't.
> ``(*raw1).__initialize(forward!(arg1, arg2));``
>
> more typing! templates!! more long lines!!! more slowness!!!!
Way off mark here.
>> This is orthogonal to this discussion. Even if concise
>> initializer syntax that you suggest was allowed
> let's improve it then, let's play more with it
> instead of introducing new functions/templates
> i feel like this is the perfect place to have such improvements
> take place
This topic has nothing to do with what you're talking about.
More information about the Digitalmars-d
mailing list