xtd 0.2.0
Loading...
Searching...
No Matches
xtd::convert_pointer Class Reference
Inheritance diagram for xtd::convert_pointer:
xtd::static_object

Definition

Represents API to convert pointers.

Header
#include <xtd/convert_pointer>
Namespace
xtd
Library
xtd.core
Remarks
This class cannot be inherited.

Public Static Methods

template<class new_type, class current_type>
static const new_type * to_ptr (const current_type *value)
 Casts a type into another type.
template<class new_type, class current_type>
static new_type * to_ptr (current_type *value)
 Casts a type into another type.
template<class new_type, class current_type>
static const new_type * to_ptr (const current_type &value)
 Casts a type into another type.
template<class new_type, class current_type>
static new_type * to_ptr (current_type &value)
 Casts a type into another type.
template<class new_type, class current_type>
static xtd::ptr< new_type > to_ptr (const xtd::ptr< current_type > &value)
 Casts a type into another type.
template<class new_type, class current_type>
static xtd::ptr< new_type > to_ptr (xtd::ptr< current_type > &value)
 Casts a type into another type.
template<class new_type, class current_type>
static xtd::ptr< new_type > to_ptr (xtd::ptr< current_type > &&value)
 Casts a type into another type.
template<class new_type, class current_type>
static const new_type & to_ref (const current_type &value)
 Casts a type into another type.
template<class new_type, class current_type>
static new_type & to_ref (current_type &value)
 Casts a type into another type.
template<class new_type, class current_type>
static const new_type & to_ref (const current_type *value)
 Casts a type into another type.
template<class new_type, class current_type>
static new_type & to_ref (current_type *value)
 Casts a type into another type.
template<class new_type, class current_type>
static xtd::sptr< new_type > to_shared_ptr (const xtd::sptr< current_type > &value)
 Casts a type into another type.
template<class new_type, class current_type>
static xtd::sptr< new_type > to_shared_ptr (xtd::sptr< current_type > &value)
 Casts a type into another type.
template<class new_type, class current_type>
static xtd::sptr< new_type > to_shared_ptr (xtd::sptr< current_type > &&value)
 Casts a type into another type.
template<class new_type, class current_type>
static xtd::sptr< new_type > to_sptr (const xtd::sptr< current_type > &value)
 Casts a type into another type.
template<class new_type, class current_type>
static xtd::sptr< new_type > to_sptr (xtd::sptr< current_type > &value)
 Casts a type into another type.
template<class new_type, class current_type>
static xtd::sptr< new_type > to_sptr (xtd::sptr< current_type > &&value)
 Casts a type into another type.
template<class new_type, class current_type>
static xtd::uptr< new_type > to_unique_ptr (xtd::uptr< current_type > &value)
 Casts a type into another type.
template<class new_type, class current_type>
static xtd::uptr< new_type > to_unique_ptr (xtd::uptr< current_type > &&value)
 Casts a type into another type.
template<class new_type, class current_type>
static xtd::uptr< new_type > to_uptr (xtd::uptr< current_type > &value)
 Casts a type into another type.
template<class new_type, class current_type>
static xtd::uptr< new_type > to_uptr (xtd::uptr< current_type > &&value)
 Casts a type into another type.

The documentation for this class was generated from the following file: