On Saturday, 6 October 2012 at 08:00:42 UTC, Johannes Pfau wrote:
Am Fri, 05 Oct 2012 17:15:44 +0200
schrieb "monarch_dodra" <[email protected]>:

[SNIP]

Couldn't we just fix std.range.put to check for an 'empty' property?

Well, the issue (imo) is not put's implementation: as Steven Schveighoffer said, cramming too big into too small is wrong (logic error).

The problem (I think), is that once a range verifies the isOutputRange criteria, the user should be able to call "put" without (too much) worries.

Reply via email to