immutable

Steven Schveighoffer schveiguy at yahoo.com
Wed Jan 26 13:07:45 PST 2011


On Wed, 26 Jan 2011 15:52:25 -0500, Trass3r <un at known.com> wrote:

> (readln only uses ~= on buf, it doesn't change the original string)

What?  Why does it take a ref argument then?  If it doesn't overwrite the  
buffer passed in, there is no point in giving it a buffer.

readln needs a serious redesign it looks like.

-Steve


More information about the Digitalmars-d mailing list