Register based error-handling?

eles via Digitalmars-d digitalmars-d at puremagic.com
Thu Nov 6 13:13:51 PST 2014


On Thursday, 6 November 2014 at 20:58:02 UTC, Ola Fosheim Grøstad 
wrote:
> On Thursday, 6 November 2014 at 20:06:55 UTC, deadalnix wrote:
>> I don't think we should have a language construct for that. It 
>> is
>> possible to pack the returned value in a struct that enforce
>> error checking.
>
> How?

The most similar thing that I can think about is Boost Optional.


More information about the Digitalmars-d mailing list