Get return type of a template function without instantiating it

Yuxuan Shui via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Tue Nov 22 04:21:18 PST 2016


Is there a way to get a template function return type with 
instantiating it? The return type is independent of the template 
arguments.

I'm asking because there's potentially recursive template 
instantiation if I do try to instantiate it.


More information about the Digitalmars-d-learn mailing list