Performance penalty for using ranges

Joseph Rushton Wakeling joseph.wakeling at webdrake.net
Sun Aug 25 11:13:29 PDT 2013


On 25/08/13 20:07, Paul Jurczak wrote:
> What is the purpose of "immutable _;" above? Why not "i;"?

It's never used, so notating it like this means you'll never clash with another 
variable name by accident (e.g. if somewhere else in the function you declare an 
int i).

Had never thought of that before but it's a handy trick, I'll have to make use 
of it in my own code ...


More information about the Digitalmars-d mailing list