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.17 for MRPT 1.9.9 Git: ad3a9d8ae Tue May 1 23:10:22 2018 -0700 at miƩ 12 jul 2023 10:03:34 CEST