Appender.put return value

monarch_dodra via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Thu Jul 24 14:42:57 PDT 2014


On Thursday, 24 July 2014 at 17:43:36 UTC, JR wrote:
> Is there a big reason why Appender.put doesn't return &this?
>
> http://dpaste.dzfl.pl/bb840e3e349e
>
> It would allow for convenient chaining. :<

AFAIK, no reason no. That said, it wouldn't be useable in generic 
code.


More information about the Digitalmars-d-learn mailing list