From a standards standpoint, should I use the following from the C++ <limits>
header?
UCHAR_MAX
which is the c implementation or
std::numeric_limits<unsigned char>::max()
which is the C++ implementation.
The result is equivalent between the two versions but should I choose an implementation based on some standard or on readability and portability in this case. Note this implementation must be cross-platform compatible. I am writing C++ code.