Registry / utility / value-ptr-lite

value-ptr-lite

JSON →
library0.2.1vcpkgunverified

A C++ smart-pointer with value semantics for C++98, C++11 and later in a single-file header-only library.

vcpkg install value-ptr-lite
INSTALL
IMPORT
SIG · VALUE-PTR-LITE
V
value-ptr-lite
utilitycppv0.2.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.

nonstd/value_ptr.hpp
#include <nonstd/value_ptr.hpp>

Value semantics with deep copy

#include <nonstd/value_ptr.hpp> #include <iostream> int main() { nonstd::value_ptr<int> p = nonstd::make_value<int>(42); auto q = p; // deep copy *q = 100; std::cout << *p << ' ' << *q; // prints 42 100 }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.2.1latest on vcpkg
Audit
Dependencies

No dependency data recorded yet.

Agent activity
13 hits · last 30 days
node
12
Amazon
1
Resources

No resource links recorded.

value-ptr-lite — pip install value-ptr-lite · libregistry