include libraries of any, optional, variant with C++11 compatible.
README
ofxModernCpp
motivation
C++17 is good but C++17 with oF is a little difficult.
linb::any
Github: thelink2012/any Version: master(2019/12/05) License: Boost Software License 1.0
tl::expected
Github TartanLlama Version: 1.0! License: Public Domain [CC0] (To the extent possible under law, Simon Brand has waived all copyright and related or neighboring rights to the optional library. This work is published from: United Kingdom.)
tl::optional
Github: TartanLlama/optional
Version: 1.0!
License: Public Domain [CC0] (To the extent possible under law, Simon Brand has waived all copyright and related or neighboring rights to the optional library. This work is published from: United Kingdom.)
mpark::variant
Github: mpark/variant Version: v1.4 License: Boost Software License 1.0
How to use
every libraries are included in
ofx::modern_cpp.If you want to use simply then use below:
#include "ofxModernCpp.h"
namespace ofx { using namespace modern_cpp; };expected docs optional docs
tl::optional has some extentions about functional-style (monadic-optional). variant docsLicense
- Boost Software License 1.0
ofxAddons