Template Struct formatter< slam_mer::translation_t >

Inheritance Relationships

Base Type

  • public formatter< string >

Struct Documentation

template<>
struct formatter<slam_mer::translation_t> : public formatter<string>

Public Functions

template<typename FormatContext>
inline auto format(const slam_mer::translation_t &t_, FormatContext &ctx_) const

Format translation_t as a string: [x: …, y: …, z: …]

Parameters:
  • t_ – Translation object whose coordinates will be formatted.

  • ctx_ – Format context that receives the generated text.

Returns:

Iterator to the end of the written characters in ctx_.