On 02/09/2016 07:46 AM, Jakob Ovrum wrote:


void main()
{
     import std.stdio : stdout;

     int a = 42;
     string b = "foo";
     float c = 3.14;

     dump!(a, b, c)(); // a = 42, b = foo, c = 3.14
     stdout.dump!(a, b, c)(" | "); // a = 42 | b = foo | c = 3.14
}

I think this is good stuff and should go in Phobos. Where particularly? -- Andrei

Reply via email to