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, class current_type>
auto xtd::as (const current_type &value) -> const new_type &
 Casts a type into another type.
template<class new_type, class current_type>
auto xtd::as (current_type &value) -> new_type &
 Casts a type into another type.
template<class new_type, class current_type>
auto xtd::as (const current_type *value) -> const new_type *
 Casts a type into another type.
template<class new_type, class current_type>
auto xtd::as (current_type *value) -> new_type *
 Casts a type into another type.
template<class new_type, class current_type>
auto xtd::as (xtd::uptr< current_type > &value) -> xtd::uptr< new_type >
 Casts a type into another type.
template<class new_type, class current_type>
auto xtd::as (xtd::uptr< current_type > &&value) -> xtd::uptr< new_type >
 Casts a type into another type.
template<class new_type, class current_type>
auto xtd::as (const xtd::sptr< current_type > &value) -> xtd::sptr< new_type >
 Casts a type into another type.
template<class new_type, class current_type>
auto xtd::as (xtd::sptr< current_type > &value) -> xtd::sptr< new_type >
 Casts a type into another type.
template<class new_type, class current_type>
auto xtd::as (xtd::sptr< current_type > &&value) -> xtd::sptr< new_type >
 Casts a type into another type.