On Friday, 2 August 2013 at 05:35:28 UTC, H. S. Teoh wrote:
        void func(S)(S input) if (isSomeString!S) {
                string x = to!string(input);
                ... // use at will
        }

+1. I saw this used recently, and I find it very clever.

Reply via email to