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

◆ is< uint64 >()

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