Main MRPT website > C++ reference for MRPT 1.9.9
mrpt::typemeta::num_to_string< num > Struct Template Reference

Detailed Description

template<unsigned num>
struct mrpt::typemeta::num_to_string< num >

constexpr string representation of a number.

Use: num_to_string<NUMBER>value.

Note
Credits: https://stackoverflow.com/a/24000041/1631514
Examples:
typemeta_StaticString/test.cpp.

Definition at line 44 of file num_to_string.h.

#include <mrpt/typemeta/num_to_string.h>

Inheritance diagram for mrpt::typemeta::num_to_string< num >:
Inheritance graph



Page generated by Doxygen 1.8.14 for MRPT 1.9.9 Git: ad3a9d8ae Tue May 1 23:10:22 2018 -0700 at lun oct 28 00:14:14 CET 2019