xtd - Reference Guide  0.1.0
Modern c++17/20 framework to create console, GUI and unit test applications on Windows, macOS, Linux, iOS and android.

◆ is< int16_t >()

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

Return true if specified value is the specified int16_t. A Is expression takes the following form:

Library
xtd.core
Examples
int main() {
int16_t i = 42;
std::cout << "i " << is<int16_t>(i) ? "is" : "isn't" << " int16_t" << endl;
}