September 17, 2012 problems with nothrow | ||||
---|---|---|---|---|
| ||||
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 |
September 17, 2012 Re: problems with nothrow | ||||
---|---|---|---|---|
| ||||
Posted in reply to Namespace | 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/3652fcc4
length 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
|
Copyright © 1999-2021 by the D Language Foundation