xtd 0.2.0
Loading...
Searching...
No Matches
as.h
Go to the documentation of this file.
1
3#pragma once
4#include "any.h"
6#include "types.h"
7#include <memory>
8#define __XTD_CORE_INTERNAL__
11#undef __XTD_CORE_INTERNAL__
12#include "convert.h"
13#define __XTD_CORE_INTERNAL__
14#include "internal/__as_bool.h"
15#include "internal/__as_byte.h"
16#include "internal/__as_char.h"
17#include "internal/__as_char8.h"
22#include "internal/__as_float.h"
23#include "internal/__as_int16.h"
24#include "internal/__as_int32.h"
25#include "internal/__as_int64.h"
26#include "internal/__as_sbyte.h"
27#include "internal/__as_slong.h"
32#include "internal/__as_ulong.h"
33#include "internal/__as_wchar.h"
34#undef __XTD_CORE_INTERNAL__
35#include "convert_pointer.h"
36#define __XTD_CORE_INTERNAL__
38#undef __XTD_CORE_INTERNAL__
39#include "convert_string.h"
40#define __XTD_CORE_INTERNAL__
42#undef __XTD_CORE_INTERNAL__
43#include "any_object.h"
44#define __XTD_CORE_INTERNAL__
46#undef __XTD_CORE_INTERNAL__
47
49template<typename new_type_t, typename current_type_t>
50new_type_t* __convert_value__(current_type_t* value) {
51 return xtd::as<new_type_t>(value);
52}
Contains xtd::as method.
Contains xtd::as method.
Contains xtd::as method.
Contains xtd::as method.
Contains xtd::as method.
Contains xtd::as method.
Contains xtd::as method.
Contains xtd::as method.
Contains xtd::as method.
Contains as_enum struct.
Contains xtd::as method.
Contains xtd::as method.
Contains xtd::as method.
Contains xtd::as method.
Contains xtd::as method.
Contains xtd::as method.
Contains xtd::as method.
Contains xtd::as method.
Contains xtd::as method.
Contains xtd::as method.
Contains xtd::as method.
Contains xtd::as method.
Contains xtd::as method.
Contains xtd::as method.
Contains xtd::as method.
Contains std::any type and std::bad_any_cast exception.
Contains std::any type and xtd::any_object class.
Contains xtd::convert class.
Contains xtd::convert class.
Contains xtd::convert_string class.
Contains xtd::invalid_cast_exception exception.
Contains xtd fundamental types.