opDispatch forwarding and ifti

Stefan Koch via Digitalmars-d digitalmars-d at puremagic.com
Mon Feb 27 04:22:02 PST 2017


On Monday, 27 February 2017 at 12:14:10 UTC, John Colvin wrote:
> Has anyone ever found a way to actually implement forwarding 
> properly with opDispatch, such that it works for both general 
> templates and also functions called using ifti (implicit 
> function template instantiation)?
>

What is your actual usecase ?
You are aware that your trying to mix an runtime and a 
compile-time feature, yes ?

If it can be done then you will have to use CTFE and aliasSeqOf.


More information about the Digitalmars-d mailing list