|
Nix 2.93.3
Lix: A modern, delicious implementation of the Nix package manager; unstable internal interfaces
|
#include <ref.hh>
Static Public Member Functions | |
| static ref< T > | unsafeFromPtr (const std::shared_ptr< T > &p) |
Friends | |
| template<typename T2, typename... Args> | |
| ref< T2 > | make_ref (Args &&... args) |
A simple non-nullable reference-counted pointer. Actually a wrapper around std::shared_ptr that prevents null constructions.