Registry / utility / strong-type

strong-type

JSON →
library15vcpkgunverified

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

vcpkg install strong-type
INSTALL
IMPORT
SIG · STRONG-TYPE
S
strong-type
utilitycppv15
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

strong_type/strong_type.hpp
#include <strong_type/strong_type.hpp>

Create a strong type for meters with ordering

#include <strong_type/strong_type.hpp> #include <iostream> using Meter = strong::type<double, struct MeterTag, strong::ordered>; int main() { Meter m{42.0}; std::cout << "Value: " << value_of(m) << "\n"; return 0; }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
15latest on vcpkg
Audit
Dependencies

No dependency data recorded yet.

Agent activity
6 hits · last 30 days
node
6
Resources

No resource links recorded.

strong-type — pip install strong-type · libregistry