First Draft: Implicit Conversion of Template Instantiations

max haughton maxhaton at gmail.com
Sun Mar 17 18:38:29 UTC 2024


On Saturday, 16 March 2024 at 15:50:27 UTC, Walter Bright wrote:
> https://github.com/WalterBright/documents/blob/9dba63a4c2887bdb2b988c354ebb0d6bb44c4968/templatecast.md
>
> DConf: https://dconf.org/2024/online/index.html#walterb

I once wrote a small patch to the compiler that added a syntax to 
enable user defined conversions for this exact use case, can't 
remember the syntax I came up with (it was a bit like an is 
expression suffixing the template parameters), must dig it up.


More information about the dip.development mailing list