Regarding std.array.Appender

Suliman via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Tue Oct 13 06:18:34 PDT 2015


On Monday, 5 March 2012 at 15:35:59 UTC, Steven Schveighoffer 
wrote:
> On Wed, 29 Feb 2012 20:25:35 -0500, bearophile 
> <bearophileHUGS at lycos.com> wrote:
>
>> Do you know why std.array.Appender defines a "put" method 
>> instead of overloading the "~=" operator?
>
> It should (in addition to put).  I see you have already filed 
> an enhancement.
>
> http://d.puremagic.com/issues/show_bug.cgi?id=4287
>
> -Steve

Can I use Appender to add at end of every string my symbol?

	foreach (pointsfile; pointsFiles)
	{
		File file = File(pointsfile, "r");
		string content = file.byLine; // I need to add "+" at at end of 
every string
	}







More information about the Digitalmars-d-learn mailing list