|
|
std::add_lvalue_reference< T >::type | operator* () const noexcept |
|
pointer | operator-> () const noexcept |
|
pointer | get () const noexcept |
|
box_ptr< T > & | operator= (box_ptr< T > &&other) noexcept=default |
|
box_ptr< T > & | operator= (const box_ptr< T > &)=delete |
|
| box_ptr (box_ptr< T > &&other)=default |
template<typename Other>
requires std::convertible_to<typename box_ptr<Other>::pointer, pointer> &&(!std::is_array_v<Other>) |
| | box_ptr (box_ptr< Other > &&other) noexcept |
|
| box_ptr (box_ptr< T > &other)=delete |
|
std::unique_ptr< T > | take () && |
template<typename T>
class nix::box_ptr< T >
A pointer that's like Rust's Box: forwards comparisons to the inner class and is non-null