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.
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.