On Friday, 14 July 2017 at 00:40:38 UTC, FoxyBrown wrote:
Anyone have an efficient implementation that is easy to use?
If you are OK with just a range spanning the two or more strings,
then you could use chain as is.
Anyone have an efficient implementation that is easy to use?
On Friday, 4 November 2016 at 14:55:27 UTC, Guillaume Piolat
wrote:
On Thursday, 3 November 2016 at 18:54:14 UTC, Gary Willoughby
wrote:
What is the simplest way of doing @nogc string concatenation?
I use sprintf + zero-terminated strings (or a RAII struct to
convert slices to ZT strings
On Thursday, 3 November 2016 at 18:54:14 UTC, Gary Willoughby
wrote:
What is the simplest way of doing @nogc string concatenation?
I use sprintf + zero-terminated strings (or a RAII struct to
convert slices to ZT strings).
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
On Thursday, November 03, 2016 18:54:14 Gary Willoughby via Digitalmars-d-
learn wrote:
> What is the simplest way of doing @nogc string concatenation?
std.range.chain is the closest that you're going to get with actual strings.
Dynamic arrays require the GC to do concatenation, because they h
What is the simplest way of doing @nogc string concatenation?