What exactly the maximum and the minimum value of any definition type? Is this possible?
unsigned int maximum_uint = (maximum_value)(unsigned int);
short minimum_short = (minimum_value)(short);
float maximum_float = (maximum_value)(float);
What exactly the maximum and the minimum value of any definition type? Is this possible?
unsigned int maximum_uint = (maximum_value)(unsigned int);
short minimum_short = (minimum_value)(short);
float maximum_float = (maximum_value)(float);
What you have written is probably not possible.
The limits of various types are provided in the C-style C++ header climits
and some in the C++ header limits
See :
#include <limits>
unsigned int maximum_uint = std::numeric_limits<unsigned int>::max();
short minimum_short = std::numeric_limits<short>::min();
float maximum_float = std::numeric_limits<float>::max();