Registry / utility / strict-variant

strict-variant

JSON →
library0.5vcpkgunverified

Tagged union implementation that will never throw an exception or make a dynamic allocation in the effort of supporting types that have throwing moves.

vcpkg install strict-variant
INSTALL
IMPORT
SIG · STRICT-VARIANT
S
strict-variant
utilitycppv0.5
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.

strict_variant/variant.hpp
#include <strict_variant/variant.hpp>

Minimal usage of strict-variant

#include <strict_variant/variant.hpp> #include <iostream> int main() { strict_variant::variant<int, double> v = 42; std::cout << strict_variant::get<int>(v) << std::endl; return 0; }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.5latest on vcpkg
Audit
Dependencies

No dependency data recorded yet.

Agent activity
6 hits · last 30 days
node
6
Resources

No resource links recorded.

strict-variant — pip install strict-variant · libregistry