alandefreitas / outcome

Provides very lightweight outcome<T> and result<T> (Boost edition)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Build and tests passing: POSIX Build Status

Boost's regression test matrix and history: https://www.boost.org/development/tests/develop/developer/outcome.html

Documentation generated from the master branch shown below (may be newer than boost.org's): http://boostorg.github.io/outcome

This is the Boost-ified edition of standalone https://github.com/ned14/outcome. Every commit made to standalone Outcome (develop and master branches only) gets automatically converted and merged to here.

Note that changes made here may not get noticed in a timely fashion. Please try to send pull requests to https://github.com/ned14/outcome/pulls instead.

Similarly, please report bugs to https://github.com/ned14/outcome/issues.

This library works well in older Boosts missing Outcome. Installation into an older Boost and running the test suite would be as follows:

cd boost/libs
git clone --depth 1 https://github.com/boostorg/outcome.git outcome
cd ..
./b2 headers
./b2 libs/outcome/test cxxflags=--std=c++14

About

Provides very lightweight outcome<T> and result<T> (Boost edition)


Languages

Language:C++ 97.9%Language:C 0.6%Language:Starlark 0.6%Language:CMake 0.4%Language:Python 0.3%Language:Shell 0.2%Language:HTML 0.0%