Registry / utility / indirect-value

indirect-value

JSON →
library2023-06-01vcpkgunverified

An indirect value-type for C++ that provides deep copy semantics for polymorphic types.

vcpkg install indirect-value
INSTALL
IMPORT
SIG · INDIRECT-VALUE
I
indirect-value
utilitycppv2023-06-01
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.

indirect_value/indirect_value.hpp
#include <indirect_value/indirect_value.hpp>

Creates an indirect_value holding an integer and prints its value.

#include <indirect_value/indirect_value.hpp> #include <iostream> int main() { auto val = std::experimental::make_indirect_value<int>(42); std::cout << *val << std::endl; return 0; }
Debug
Known issues
gotchaindirect_value is experimental and may change; requires C++17 or later.
fix
Ensure your compiler supports C++17 and include the correct header.
affects: *
Upgrade
Version history
2023-06-01latest on vcpkg
Audit
Dependencies

No dependency data recorded yet.

Agent activity
6 hits · last 30 days
node
6
Resources

No resource links recorded.

indirect-value — pip install indirect-value · libregistry