Create an associative array with function pointers as the value
    rempas 
    rempas at tutanota.com
       
    Wed Apr 20 16:32:34 UTC 2022
    
    
  
On Wednesday, 20 April 2022 at 14:29:33 UTC, rikki cattermole 
wrote:
>
> On 21/04/2022 2:15 AM, rempas wrote:
>> Unfortunately, this will not work for me as it uses "TypeInfo" 
>> and it is not available with "-betterC". Thank you for trying 
>> to help regardless!
>
> You can't use AA's in -betterC.
>
> The implementation is not templated and is in druntime.
Oh! Thank you! I'm an idiot for not knowing that...
    
    
More information about the Digitalmars-d-learn
mailing list