D-Programming-Language/phobos — pull request #575 by 9rnsr (2012-05-12 15:11:39+00:00)
Title: Fix std.conv.to for alias this type interactions

(This is based on #537. Please merge it first.)

Now `std.format.formatValue` considers 'alias this' types. But `std.conv.to` doesn't yet.
This pull fixes following bugs and increases maintainability.

Issue 6175 - String corruption when passing static char arrays to std.conv
Issue 7348 - to!string(null) matches more than one template declaration
Issue 8080 - 'alias this' causes toString to be shadowed by aliased object