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

◆ is< int64 >()

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