xtd 0.2.0
delete_shared_ptr_object.hpp
Go to the documentation of this file.
1
4#pragma once
5#include "null.hpp"
7
9namespace xtd {
24 template<class type_t>
25 void delete_shared_ptr_object(shared_ptr_object<type_t>& ptr) {ptr = null;}
26}
null_ptr null
Represents a null pointer value.
xtd::sptr< type_t > ptr
The xtd::ptr object is a shared pointer.
Definition ptr.hpp:27
void delete_shared_ptr_object(shared_ptr_object< type_t > &ptr)
xtd::delete_shared_ptr_object operator delete a xtd::shared_ptr_object or xtd::ptr object.
Definition delete_shared_ptr_object.hpp:25
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition abstract_object.hpp:8
Contains xtd::null pointer valiue.
Contains xtd::shared_ptr_object class.