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

◆ is< slong >()

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