strong_type

[full]

An additive strong typedef library for C++14/17/20

An additive strong typedef library for C++14/17/20 using the Boost Software License 1.0

CI Build Status codecov

Intro

Very much inspired by @foonathan's type_safe library, but aim is slightly different. Limit scope for type safety only. No runtime checks. Also strive for a higher level abstraction of the needed functionality. The idea is to suffer no runtime penalty, but to capture misuse at compile time (for example accidentally subtracting from a handle, or swapping two parameters in a function call) while still being easy to use for inexperienced programmers.

... More
license BSL-1.0
project strong_type
url github.com/rollbear/strong_type
1 Version
version 12.0.0+1
repository https://pkg.cppget.org/1/stable
depends 0