xtd - Reference Guide  0.1.2
Modern c++17/20 framework to create console, GUI and unit test applications on Windows, macOS, Linux, iOS and android.
Loading...
Searching...
No Matches
Namespaces | Functions
is.h File Reference
#include <any>
#include <limits>
#include <memory>
#include <stdexcept>
#include "parse.h"
#include "types.h"
#include "unused.h"

Definition

Contains xtd::is 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 type_t , typename param_t >
bool xtd::is (const param_t &value)
 Checks if the result of an expression is compatible with a given type.
 
template<typename type_t , typename param_t >
bool xtd::is (const param_t *value)
 Checks if the result of an expression is compatible with a given type.
 
template<typename type_t , typename param_t >
bool xtd::is (param_t &value)
 Checks if the result of an expression is compatible with a given type.
 
template<typename type_t , typename param_t >
bool xtd::is (param_t *value)
 Checks if the result of an expression is compatible with a given type.
 
template<typename type_t >
bool xtd::is (std::any value)
 Checks if the result of an expression is compatible with a given type.
 
template<typename new_type_t , typename current_type_t >
bool xtd::is (std::shared_ptr< current_type_t > &value)
 Checks if the result of an expression is compatible with a given type.
 
template<>
bool xtd::is< bool > (bool value)
 Checks if the result of an expression is compatible with a given type.
 
template<>
bool xtd::is< decimal_t > (decimal_t value)
 Checks if the result of an expression is compatible with a given type.
 
template<>
bool xtd::is< double > (double value)
 Checks if the result of an expression is compatible with a given type.
 
template<>
bool xtd::is< float > (float value)
 Checks if the result of an expression is compatible with a given type.
 
template<>
bool xtd::is< int16_t > (int16_t value)
 Checks if the result of an expression is compatible with a given type.
 
template<>
bool xtd::is< int32_t > (int32_t value)
 Checks if the result of an expression is compatible with a given type.
 
template<>
bool xtd::is< int64_t > (int64_t value)
 Checks if the result of an expression is compatible with a given type.
 
template<>
bool xtd::is< int8_t > (int8_t value)
 Checks if the result of an expression is compatible with a given type.
 
template<>
bool xtd::is< llong_t > (llong_t value)
 Checks if the result of an expression is compatible with a given type.
 
template<>
bool xtd::is< std::any > (std::any value)
 Checks if the result of an expression is compatible with a given type.
 
template<>
bool xtd::is< uint16_t > (uint16_t value)
 Checks if the result of an expression is compatible with a given type.
 
template<>
bool xtd::is< uint32_t > (uint32_t value)
 Checks if the result of an expression is compatible with a given type.
 
template<>
bool xtd::is< uint64_t > (uint64_t value)
 Checks if the result of an expression is compatible with a given type.
 
template<>
bool xtd::is< uint8_t > (uint8_t value)
 Checks if the result of an expression is compatible with a given type.
 
template<>
bool xtd::is< ullong_t > (ullong_t value)
 Checks if the result of an expression is compatible with a given type.