Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
次のものがあるとします
class X { typedef some_numeric_type my_type; }
その限界を決定する方法はmy_type?
my_type
とヘッダーstd::numeric_limitsから。<limits>
std::numeric_limits
<limits>
#include <limits> std::numeric_limits<my_type>::min() std::numeric_limits<my_type>::max()