Passing nested template function

Prateek Nayak lelouch.cpp at
Sat Aug 10 17:45:43 UTC 2019

A nested function can be passed to another function evident from 
this example:

However if the nested function is a template function, it raises 
an error
The error being: cannot get frame pointer to the nested function

Is there a way to pass a nested template function to a function 
declared outside the outer function scope?

More information about the Digitalmars-d-learn mailing list