xtd 0.2.0
Loading...
Searching...
No Matches
__as_generic.h 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<typename new_type_t >
new_type_t xtd::as (std::any value)
 Casts a type into another type.
 
template<typename new_type_t >
new_type_t xtd::as (bool value)
 Casts a type into another type.
 
template<typename new_type_t >
new_type_t xtd::as (xtd::byte value)
 Casts a type into another type.
 
template<typename new_type_t >
new_type_t xtd::as (char value)
 Casts a type into another type.
 
template<typename new_type_t >
new_type_t xtd::as (char8 value)
 Casts a type into another type.
 
template<typename new_type_t >
new_type_t xtd::as (char16 value)
 Casts a type into another type.
 
template<typename new_type_t >
new_type_t xtd::as (char32 value)
 Casts a type into another type.
 
template<typename new_type_t >
new_type_t xtd::as (wchar value)
 Casts a type into another type.
 
template<typename new_type_t >
new_type_t xtd::as (decimal value)
 Casts a type into another type.
 
template<typename new_type_t >
new_type_t xtd::as (double value)
 Casts a type into another type.
 
template<typename new_type_t >
new_type_t xtd::as (float value)
 Casts a type into another type.
 
template<typename new_type_t >
new_type_t xtd::as (int16 value)
 Casts a type into another type.
 
template<typename new_type_t >
new_type_t xtd::as (int32 value)
 Casts a type into another type.
 
template<typename new_type_t >
new_type_t xtd::as (int64 value)
 Casts a type into another type.
 
template<typename new_type_t >
new_type_t xtd::as (slong value)
 Casts a type into another type.
 
template<typename new_type_t >
new_type_t xtd::as (sbyte value)
 Casts a type into another type.
 
template<typename new_type_t >
new_type_t xtd::as (uint16 value)
 Casts a type into another type.
 
template<typename new_type_t >
new_type_t xtd::as (uint32 value)
 Casts a type into another type.
 
template<typename new_type_t >
new_type_t xtd::as (uint64 value)
 Casts a type into another type.
 
template<typename new_type_t >
new_type_t xtd::as (xtd::ulong value)
 Casts a type into another type.
 
template<typename new_type_t >
new_type_t xtd::as (const xtd::string &value)
 Casts a type into another type.
 
template<typename new_type_t >
new_type_t xtd::as (xtd::string &value)
 Casts a type into another type.
 
template<typename new_type_t >
new_type_t xtd::as (const std::string &value)
 Casts a type into another type.
 
template<typename new_type_t >
new_type_t xtd::as (std::string &value)
 Casts a type into another type.
 
template<typename new_type_t >
new_type_t xtd::as (const std::u8string &value)
 Casts a type into another type.
 
template<typename new_type_t >
new_type_t xtd::as (std::u8string &value)
 Casts a type into another type.
 
template<typename new_type_t >
new_type_t xtd::as (const std::u16string &value)
 Casts a type into another type.
 
template<typename new_type_t >
new_type_t xtd::as (std::u16string &value)
 Casts a type into another type.
 
template<typename new_type_t >
new_type_t xtd::as (const std::u32string &value)
 Casts a type into another type.
 
template<typename new_type_t >
new_type_t xtd::as (std::u32string &value)
 Casts a type into another type.
 
template<typename new_type_t >
new_type_t xtd::as (const std::wstring &value)
 Casts a type into another type.
 
template<typename new_type_t >
new_type_t xtd::as (std::wstring &value)
 Casts a type into another type.
 
template<typename new_type_t >
new_type_t xtd::as (const char *value)
 Casts a type into another type.
 
template<typename new_type_t >
new_type_t xtd::as (char *value)
 Casts a type into another type.
 
template<typename new_type_t >
new_type_t xtd::as (const char8 *value)
 Casts a type into another type.
 
template<typename new_type_t >
new_type_t xtd::as (char8 *value)
 Casts a type into another type.
 
template<typename new_type_t >
new_type_t xtd::as (const char16 *value)
 Casts a type into another type.
 
template<typename new_type_t >
new_type_t xtd::as (char16 *value)
 Casts a type into another type.
 
template<typename new_type_t >
new_type_t xtd::as (const char32 *value)
 Casts a type into another type.
 
template<typename new_type_t >
new_type_t xtd::as (char32 *value)
 Casts a type into another type.
 
template<typename new_type_t >
new_type_t xtd::as (const wchar *value)
 Casts a type into another type.
 
template<typename new_type_t >
new_type_t xtd::as (wchar *value)
 Casts a type into another type.