On 6/19/14, 1:29 PM, Etienne wrote:
writeln(currAssignment.safeDeref.typeInfo.ident.or("meh"));
"or" is really nice and terse. I think we should add that to std. safeDeref isn't the best choice of name.
Andrei
Andrei Alexandrescu via Digitalmars-d Sat, 21 Jun 2014 15:32:16 -0700
On 6/19/14, 1:29 PM, Etienne wrote:
writeln(currAssignment.safeDeref.typeInfo.ident.or("meh"));
"or" is really nice and terse. I think we should add that to std. safeDeref isn't the best choice of name.
Andrei