If my code has this constexpr string
constexpr
constexpr char my_str[] = \"hello\";
the type of my_str contains information
my_str
In C++17 you can use std::char_traits::length, which is constexpr, instead of strlen.
strlen