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<typename new_type_t , typename current_type_t >
static const new_type_t * to_ptr (const current_type_t *value)
 Casts a type into another type.
 
template<typename new_type_t , typename current_type_t >
static new_type_t * to_ptr (current_type_t *value)
 Casts a type into another type.
 
template<typename new_type_t , typename current_type_t >
static const new_type_t * to_ptr (const current_type_t &value)
 Casts a type into another type.
 
template<typename new_type_t , typename current_type_t >
static new_type_t * to_ptr (current_type_t &value)
 Casts a type into another type.
 
template<typename new_type_t , typename current_type_t >
static const new_type_t & to_ref (const current_type_t &value)
 Casts a type into another type.
 
template<typename new_type_t , typename current_type_t >
static new_type_t & to_ref (current_type_t &value)
 Casts a type into another type.
 
template<typename new_type_t , typename current_type_t >
static const new_type_t & to_ref (const current_type_t *value)
 Casts a type into another type.
 
template<typename new_type_t , typename current_type_t >
static new_type_t & to_ref (current_type_t *value)
 Casts a type into another type.
 
template<typename new_type_t , typename current_type_t >
static xtd::uptr< new_type_t > to_unique_ptr (xtd::uptr< current_type_t > &value)
 Casts a type into another type.
 
template<typename new_type_t , typename current_type_t >
static xtd::uptr< new_type_t > to_unique_ptr (xtd::uptr< current_type_t > &&value)
 Casts a type into another type.
 
template<typename new_type_t , typename current_type_t >
static xtd::sptr< new_type_t > to_shared_ptr (const xtd::sptr< current_type_t > &value)
 Casts a type into another type.
 
template<typename new_type_t , typename current_type_t >
static xtd::sptr< new_type_t > to_shared_ptr (xtd::sptr< current_type_t > &value)
 Casts a type into another type.
 
template<typename new_type_t , typename current_type_t >
static xtd::sptr< new_type_t > to_shared_ptr (xtd::sptr< current_type_t > &&value)
 Casts a type into another type.
 

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