Combining if constexpr
with some <type_traits>
entities, in C++ 17, I'm able to inspect types on compiler time. Can these techniques be considered static reflection? Example:
if constexpr (std::is_same_v<T, U>) statement
Does the reflection concept applies only to runtime? Is right to say static reflection?
Aucun commentaire:
Enregistrer un commentaire