Is there a way to get use constructors with traits functions that take a
function? For instance, functionAttributes!(func) takes a func and tells you
whether it's pure, nothrow, etc. However, giving it the type doesn't work (i.e.
functionAttributes!T), and giving it this doesn't work (i.e.
On Sun, Nov 14, 2010 at 11:16, Jonathan M Davis jmdavisp...@gmx.com wrote:
Is there a way to get use constructors with traits functions that take a
function? For instance, functionAttributes!(func) takes a func and tells you
whether it's pure, nothrow, etc. However, giving it the type doesn't
On Sunday 14 November 2010 07:13:43 Philippe Sigaud wrote:
On Sun, Nov 14, 2010 at 11:16, Jonathan M Davis jmdavisp...@gmx.com wrote:
Is there a way to get use constructors with traits functions that take a
function? For instance, functionAttributes!(func) takes a func and tells
you whether