Templates to declare integers by byte count (inΒΆ

// structs

template <unsigned int num_bytes>
struct mrpt::int_select_by_bytecount;

template <>
struct mrpt::int_select_by_bytecount<4>;

template <>
struct mrpt::int_select_by_bytecount<3>;

template <>
struct mrpt::int_select_by_bytecount<8>;

template <>
struct mrpt::int_select_by_bytecount<1>;

template <>
struct mrpt::int_select_by_bytecount<2>;

template <>
struct mrpt::uint_select_by_bytecount<2>;

template <>
struct mrpt::uint_select_by_bytecount<3>;

template <>
struct mrpt::uint_select_by_bytecount<1>;

template <>
struct mrpt::uint_select_by_bytecount<4>;

template <unsigned int num_bytes>
struct mrpt::uint_select_by_bytecount;

template <>
struct mrpt::uint_select_by_bytecount<8>;