Why are commands executing out of order?

Jesse Phillips Jessekphillips+d at gmail.com
Sat Feb 23 18:11:37 PST 2013


On Wednesday, 13 February 2013 at 15:53:44 UTC, Andrea Fontana 
wrote:
> Why Appender has no ~ operator itself?
>
> auto app = appender!string();
> app.put("a");  // why not app ~= "a"?

Because Appender is an output range, using ~= will mean your code 
will not work with other output ranges.


More information about the Digitalmars-d-learn mailing list