xtd 0.2.0
Loading...
Searching...
No Matches

◆ is< xtd::ulong >()

template<>
bool xtd::is< xtd::ulong > ( xtd::ulong  value)
inline

Checks if the result of an expression is compatible with a given type.

Header
#include <xtd/is>
Namespace
xtd
Library
xtd.core
Examples
auto main() -> int {
xtd::ulong u = 42;
std::cout << "u " << is<xtd::ulong>(i) ? "is" : "isn't" << " xtd::ulong" << endl;
}
__ulong__ ulong
Represents a 32-bit or 64-bit unsigned integer.
Definition ulong.h:27
bool is< xtd::ulong >(xtd::ulong value)
Checks if the result of an expression is compatible with a given type.
Definition is.h:350
@ u
The U key.
@ i
The I key.