opEquals nothrow

bauss via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Thu Jul 20 07:55:04 PDT 2017


On Thursday, 20 July 2017 at 14:38:03 UTC, Aldo wrote:
> Hello,
>
> im tring to add nothrow keyword in my code, but compilation 
> fails :
>
> function 'object.opEquals' is not nothrow
>
>
> its a simple comparison between 2 objects. How to make opEquals 
> nothrow ?
>
> thanks

Could you show some code.


More information about the Digitalmars-d-learn mailing list