Is there a way, how to get typeid into variable in compile time using constexpr?
typeid
This is not working, since std::type_index has no constexpr ctor
std::type_index
constexpr std::type_index i = typeid(double);
Aucun commentaire:
Enregistrer un commentaire