xtd 0.2.0
Loading...
Searching...
No Matches
__as_pointer.hpp File Reference

Definition

Contains xtd::as method.

Go to the source code of this file.

Namespaces

namespace  xtd
 The xtd namespace contains all fundamental classes to access Hardware, Os, System, and more.
 

Functions

template<class new_type_t, class current_type_t>
auto xtd::as (const current_type_t &value) -> const new_type_t &
 Casts a type into another type.
 
template<class new_type_t, class current_type_t>
auto xtd::as (current_type_t &value) -> new_type_t &
 Casts a type into another type.
 
template<class new_type_t, class current_type_t>
auto xtd::as (const current_type_t *value) -> const new_type_t *
 Casts a type into another type.
 
template<class new_type_t, class current_type_t>
auto xtd::as (current_type_t *value) -> new_type_t *
 Casts a type into another type.
 
template<class new_type_t, class current_type_t>
auto xtd::as (xtd::uptr< current_type_t > &value) -> xtd::uptr< new_type_t >
 Casts a type into another type.
 
template<class new_type_t, class current_type_t>
auto xtd::as (xtd::uptr< current_type_t > &&value) -> xtd::uptr< new_type_t >
 Casts a type into another type.
 
template<class new_type_t, class current_type_t>
auto xtd::as (const xtd::sptr< current_type_t > &value) -> xtd::sptr< new_type_t >
 Casts a type into another type.
 
template<class new_type_t, class current_type_t>
auto xtd::as (xtd::sptr< current_type_t > &value) -> xtd::sptr< new_type_t >
 Casts a type into another type.
 
template<class new_type_t, class current_type_t>
auto xtd::as (xtd::sptr< current_type_t > &&value) -> xtd::sptr< new_type_t >
 Casts a type into another type.