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

◆ is< uint32 >()

template<>
bool xtd::is< uint32 > ( uint32  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 {
uint32 u = 42;
std::cout << "u " << is<uint32>(u) ? "is" : "isn't" << " uint32" << endl;
}
uint32_t uint32
Represents a 32-bit unsigned integer.
Definition uint32.h:23
bool is< uint32 >(uint32 value)
Checks if the result of an expression is compatible with a given type.
Definition is.h:306
@ u
The U key.