Boost logo

Boost :

Subject: Re: [boost] [outcome] Ternary logic -- need an example
From: Niall Douglas (s_sourceforge_at_[hidden])
Date: 2017-05-19 15:53:37

> If I take your library, and also apply the "Sea of noexcept" approach, this
> means that if I call `if(o.error())` to check if I have an error, I might
> be triggering `std::terminate()`. Scary, but maybe this is ok, it you treat
> empty outcome as a really abnormal state.

As with all software libraries, you have to assume that the end user has
read the documentation and has some understanding of the standard library.


ned Productions Limited Consulting

Boost list run by bdawes at, gregod at, cpdaniel at, john at