ugmisc 0.2-76
Miscellaneous C++ header library
Loading...
Searching...
No Matches
ugmisc::get_int_types< N > Struct Template Reference

#include <ugmisc/int_finder.hpp>

Detailed Description

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.

The documentation for this struct was generated from the following file: