Register based error-handling?

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


On Thursday, 6 November 2014 at 21:13:53 UTC, eles wrote:
> The most similar thing that I can think about is Boost Optional.

Yes, that is kind of like Rust's std::result or Haskell's Maybe, 
but it does not support delaying the handling like you do in 
OpenGL.

What is desirable is that you are allowed to continue as long as 
you eventually handle the error. That way you can minimize the 
error checking… And the mechanisms should also not introduce any 
cache misses…


More information about the Digitalmars-d mailing list