1 2 3 4 5 6 7 8
int x; decltype (x) y; decltype (x) z = 5; decltype (char{5}) a = 'a'; using x_t = decltype (x);