Luna::Ref::Ref
Ref(_Ty *ptr)
Constructs one reference using the native pointer of the same type.
The strong reference counter of the new boxed object, if not null, will be increased.
Parameters
-
in ptr
The native pointer to set.
Ref(_Ty *ptr)
Constructs one reference using the native pointer of the same type.
The strong reference counter of the new boxed object, if not null, will be increased.
in ptr
The native pointer to set.