Registry / utility / absent

absent

JSON →
library0.3.1vcpkgunverified

A small C++17 library meant to simplify the composition of nullable types in a generic, type-safe, and declarative way.

vcpkg install absent
INSTALL
IMPORT
SIG · ABSENT
A
absent
utilitycppv0.3.1
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.

absent/absent.hpp
#include <absent/absent.hpp>

Create an optional and conditionally execute a lambda

#include <absent/absent.hpp> #include <iostream> int main() { auto result = absent::make_optional(42); absent::if_then(result, [](int v) { std::cout << v << std::endl; }); return 0; }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.3.1latest on vcpkg
Audit
Dependencies

No dependency data recorded yet.

Agent activity
37 hits · last 30 days
node
30
OpenAI (training)
1
Resources

No resource links recorded.

absent — pip install absent · libregistry