Andrei Alexandrescu:

You closed it.

Also that bug has nothing to do with this topic because you can't compile the buggy code and have it silently do the wrong thing.


Andrei

Sorry.

A solution is to introduce a "byLineFast" that is similar to the current "byLine", and make "byLine" copy.

Another solution is to keep only "byLine" and give it a compile-time boolean argument to disable the copy, that is active on default.

Bye,
bearophile

Reply via email to