Dup4 / result-cpp

Result and ResultOr<T> for modern cpp

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

result-cpp

Clang Format Test codecov GitHub release

Integration

CMake

FetchContent_Declare(
    result-cpp
    QUIET
    GIT_REPOSITORY https://github.com/Dup4/result-cpp.git
    GIT_TAG v{x.y.z} # Where `x.y.z` is the release version you want to use.
)

Bazel

git_repository(
    name = "result-cpp",
    remote = "https://github.com/Dup4/result-cpp.git",
    tag = "v{x.y.z}",  # Where `x.y.z` is the release version you want to use.
)

Usage

See the usage in the unit test

License

MIT License © 2022 - PRESENT Dup4

About

Result and ResultOr<T> for modern cpp

License:MIT License


Languages

Language:C++ 85.6%Language:CMake 5.3%Language:Starlark 4.2%Language:C 2.8%Language:Makefile 2.1%