#include #include template void show() { if constexpr (std::is_pointer_v) { std::cout << "pointer" << '\n'; } else { std::cout << "primary" << '\n'; } } int main() { show(); show(); return 0; }