Const initialization issue, looking for solution

Dicebot m.strashun at gmail.com
Wed May 29 05:40:37 PDT 2013


Why something like this is not usable?
-----------------------
int tmp;
try
{
    tmp = ...;
}
catch(..)
{
}
const(int) i = tmp;
-----------------------
Not really pretty but nothing crazy.


More information about the Digitalmars-d mailing list