How can I dump an expression into log and execute it

Jacob Carlborg via Digitalmars-d digitalmars-d at puremagic.com
Sun Jul 13 03:14:37 PDT 2014


On 2014-07-11 16:14, H. S. Teoh via Digitalmars-d wrote:

> 	auto result = logAndCall!(myFunc, q{1.0 + 2.0/4});

You're passing it as a string.

-- 
/Jacob Carlborg


More information about the Digitalmars-d mailing list