What is the simplest way of doing @nogc string concatenation?

Steven Schveighoffer via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Thu Nov 3 12:13:08 PDT 2016


On 11/3/16 2:54 PM, Gary Willoughby wrote:
> What is the simplest way of doing @nogc string concatenation?

Where does it go?

For instance, this should work:

auto newstr = "hello, ".chain("world");

-Steve


More information about the Digitalmars-d-learn mailing list