On 27 Jan 2016 at 8:32, Robert Ramey wrote:
The data type is called "checked_result<R>". Although it was intended to be internal to the library, I did document and test it independently. One thing that turned out to be necessary in my application was that it be constexpr.
You've reminded me of another area in Outcome which will change: constexpr for when T is a LiteralType. The changes won't be massive, it was working some months ago but I had to disable constexpr to get it working with VS2015 before Update 1. Now Update 1 is out, I ought to restore constexpr support if that proves sane with C++ 11 constexpr, and have made a note to remind myself. Niall -- ned Productions Limited Consulting http://www.nedproductions.biz/ http://ie.linkedin.com/in/nialldouglas/