xtd
1.0.0
Toggle main menu visibility
Loading...
Searching...
No Matches
xtd.core
include
xtd
delete_sptr.hpp
Go to the documentation of this file.
1
4
#pragma once
5
#include "
null.hpp
"
6
#include "
sptr.hpp
"
7
9
namespace
xtd
{
24
template
<
typename
type_t>
25
auto
delete_sptr
(
sptr<type_t>
&
ptr
) ->
void
{
ptr
=
null
;}
26
}
xtd::sptr
xtd::shared_ptr_object< type_t > sptr
The xtd::sptr object is a shared pointer.
Definition
sptr.hpp:25
xtd::null
null_ptr null
Represents a null pointer value.
xtd::ptr
xtd::sptr< type_t > ptr
The xtd::ptr object is a shared pointer.
Definition
ptr.hpp:27
xtd::delete_sptr
auto delete_sptr(sptr< type_t > &ptr) -> void
xtd::delete_sptr operator delete a xtd::sptr or xtd::ptr object.
Definition
delete_sptr.hpp:25
xtd
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition
abstract_object.hpp:8
null.hpp
Contains xtd::null pointer valiue.
sptr.hpp
Contains xtd::sptr type.
Generated on
for xtd by
Gammasoft
. All rights reserved.