common: Implement a subset of P0323 (std::expected)

This implementation is based on and is a subset of the proposed implementation of std::expected
https://github.com/TartanLlama/expected/blob/master/include/tl/expected.hpp
This commit is contained in:
Morph 2021-10-31 21:20:51 -04:00
parent b118fa8698
commit a41e9e93dd
2 changed files with 988 additions and 0 deletions

View file

@ -55,6 +55,7 @@ add_library(common STATIC
dynamic_library.h
error.cpp
error.h
expected.h
fiber.cpp
fiber.h
fs/file.cpp