D-Programming-Language/phobos — pull request #291 by NilsBossung (2011-10-13 21:34:22+00:00)
Title: make to!(dstring) work with structs

Before the following wouldn't compile, because a string (S.stringof) is not
implicitly convertible to a dstring:
----
struct S {}
typedef S T;
to!(dstring)(S());
to!(dstring)(T());
----

right and separator have been changed to avoid confusion over
different types.