digitalmars.D.learn - problems with nothrow
- Namespace (6/6) Sep 17 2012 It seems that nothrow functions/methods which take a AA have some
- Jonathan M Davis (5/12) Sep 17 2012 length should definitely be nothrow. Whether opApply can be nothrow or n...
It seems that nothrow functions/methods which take a AA have some problems with .length and opApply, but I'm not sure if I should report it as a bug. Here the code: http://dpaste.dzfl.pl/a61e721e http://dpaste.dzfl.pl/3652fcc4
Sep 17 2012
On Monday, September 17, 2012 22:59:31 Namespace wrote:It seems that nothrow functions/methods which take a AA have some problems with .length and opApply, but I'm not sure if I should report it as a bug. Here the code: http://dpaste.dzfl.pl/a61e721e http://dpaste.dzfl.pl/3652fcc4length should definitely be nothrow. Whether opApply can be nothrow or not may depend on the type of the AA. I don't know. It would depend on what it does and how much of it depends on the types of the keys or values. - Jonathan M Davis
Sep 17 2012