On Wednesday, 21 December 2011 at 16:31:01 UTC, Jakob Ovrum wrote:
On Wednesday, 21 December 2011 at 16:07:55 UTC, Timon Gehr wrote:Just remove the non-const overload. const member functions work with mutable, immutable and const receivers.The const version does not allow using 'ref' when iterating.
In light of pompei2's recent reply; the const version *should not* allow using 'ref' when iterating.