Template Struct Accumulator

Struct Documentation

template<typename T>
struct loop_closure::distance::Accumulator

Meta-function returning a type that can be used to accumulate many values of T.

By default, the accumulator type is the same as T. Specializations for the basic types are:

  • uint8_t -> uint32_t

  • uint16_t -> uint32_t

  • int8_t -> int32_t

  • int16_t -> int32_t

  • float -> double

Public Types

typedef T type