Use std.string.lineSplitter with std.array.Appender!string

NonNull non-null at use.startmail.com
Wed Aug 28 15:58:46 UTC 2019


On Wednesday, 28 August 2019 at 15:56:55 UTC, Anonymouse wrote:
> On Wednesday, 28 August 2019 at 15:52:18 UTC, NonNull wrote:
>>
>> Disambiguate how ?
>>
>> ```
>>     import std.string, std.array;
>>     auto s = appender!string;
>>     // .......
>>     auto a = s.lineSplitter;
>> ```
>
> auto a = s.data.lineSplitter;
>
> On mobile, can't test.

Yes!


More information about the Digitalmars-d-learn mailing list