Registry / utility / type-lite

type-lite

JSON →
library0.2.0vcpkgunverified

Strong types for C++98, C++11 and later in a single-file header-only library.

vcpkg install type-lite
INSTALL
IMPORT
SIG · TYPE-LITE
T
type-lite
utilitycppv0.2.0
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.

type.hpp
#include <type.hpp>

Define a strong type for meters using type-lite

#include "type.hpp" #include <iostream> using Meter = nonstd::type<int, struct MeterTag>; int main() { Meter m(42); std::cout << "Meter value: " << m.value() << "\n"; return 0; }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.2.0latest on vcpkg
Audit
Dependencies

No dependency data recorded yet.

Agent activity
4 hits · last 30 days
node
4
Resources

No resource links recorded.

type-lite — pip install type-lite · libregistry