Template Struct Mapper

Struct Documentation

template<typename T, typename E = void>
struct Mapper

Helper for mapping tangent vectors (scalars) over pointers to data.

Public Types

using Scalar = T
using Map = Scalar&
using ConstMap = const Scalar&

Public Static Functions

static inline Map map(Scalar *ptr) noexcept
static inline ConstMap map(const Scalar *ptr) noexcept