mirror of
https://github.com/paboyle/Grid.git
synced 2026-04-19 18:21:02 +01:00
1cb745c8dc
Also works for nested templates. I find it useful for debugging. Possible usage: std::cout << "getTypename<AType>() = " << getTypename<Atype>() << std::endl; std::cout << "getTypename<decltype(AnInstance)>() = " << getTypename<decltype(AnInstance)>() << std::endl;