The maximum value of "unsigned long int" in c++

c++, numeric-limits

Solution

The obvious way would be to use `std::numeric_limits<unsigned long>::max();`

Problem

How can I know what is the maximum assignable value for a variable from the the type of "unsigned long int"?

Original source

Related problems