How can I find out what type the compiler deduced when using the auto keyword?
auto
Example 1: Simpler
auto tickTime = 0.001;
W
A lo-fi trick that doesn't require any prior helper definitions is:
typename decltype(nextTickTime)::_
The compiler will complain that _ isn't a member of whatever type nextTickTime is.
_
nextTickTime