problems with nothrow

Jonathan M Davis jmdavisProg at gmx.com
Mon Sep 17 14:03:50 PDT 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/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


More information about the Digitalmars-d-learn mailing list