The decltype specifier can be used to obtain the declared type of an entity or the type of an expression.
To treat an entity (technically id-expression or class member access expression) as an expression, it can be surrounded by parenthesis.
Compiler Explorer link: https://compiler-explorer.com/z/jnxTs5Wx1