Template: get function name

novice3 sorryno at em.ail
Mon Aug 17 10:28:47 UTC 2020


On Monday, 17 August 2020 at 10:11:29 UTC, MoonlightSentinel 
wrote:
> On Monday, 17 August 2020 at 09:59:21 UTC, novice3 wrote:
>> On Monday, 17 August 2020 at 09:45:55 UTC, novice3 wrote:
>>> access violation occur.
>>
>> reduced code https://run.dlang.io/is/U58t9R
>
> The wrapper parameters don't inherit the storage classes from  
> the wrapped function. Try using std.traits.Parameters instead: 
> https://run.dlang.io/is/wTyJWD.

Nice, it works!


More information about the Digitalmars-d-learn mailing list