ct_str_t is a header only library.
Install it with git submodule:
git submodule add 'https://github.com/Chris-plusplus/ct_str_t' <extern_dir>/ct_str_tAnd simply include it:
#include <ct_str_t.hpp>// char type auto detection
using my_type = ct_str_t("my_type");
using my_wtype = ct_str_t(L"my_type");
// name of type
constexpr const char* name = my_type::name;
// length of name
constexpr size_t len = my_type::length;