#include <ugmisc/int_finder.hpp>
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. See the get_int_types<8> specialisation for an example.