Register based error-handling?

via Digitalmars-d digitalmars-d at puremagic.com
Thu Nov 6 14:24:19 PST 2014


On Thursday, 6 November 2014 at 21:55:42 UTC, ZombineDev wrote:
> Something a little better than Boost's Optional:
> Expected<T>
> http://channel9.msdn.com/Shows/Going+Deep/C-and-Beyond-2012-Andrei-Alexandrescu-Systematic-Error-Handling-in-C

If you have exceptions maybe, but not good enough.

And none of the Maybe-like solutions work when you don't have a 
return value, so they don't enforce error-handling.


More information about the Digitalmars-d mailing list