template<unsigned N>
struct ugmisc::get_int_types< N >
Specialise this for new int types. Built in specialisations exist for the 8, 16, 32, and 64 bit signed and unsigned integers, so you only need to add specialisations for extra large ints.
- Note
- This works even with custom int types. They do not have to have a power of two width, but they do have to have a radix of 2, a specialisation of std::numeric_limits, and support for the usual integer operators.