I cannot find the answer to this seemingly simple question anywhere.
Does the following C++ function use RTTI? It certainly doesn't have to, but I was wondering if there is a guarantee that typeid will be determined at compile time.
template <typename T>
const char *getName()
{
return typeid(T).name(); // Resolved at compile time?
}