jmdavis/phobos — comment on commit 2d340a9ea3d8e738693f81c688f25440a49ff107
File: std/utf.d line 1168
By andralex:

I find functions that unconditionally create new data difficult to compose with effectively. (This is an issue predating this diff.) How about an overload of toUTF that appends the decoding result to a second parameter? Better yet, we make it a delegate that appends strings and we're "in space".