A
Asfand Yar Qazi
Hi,
Will the std::type_info object returned by typeid be the same
object every time it is called for a given type?
Can there ever be a chance that a std::type_info object returned
by typeid for two different types will share the same memory
address? Lets say, for example, I want to use the address of the
type_info object as a hash value.
Thanks,
Asfand Yar
Will the std::type_info object returned by typeid be the same
object every time it is called for a given type?
Can there ever be a chance that a std::type_info object returned
by typeid for two different types will share the same memory
address? Lets say, for example, I want to use the address of the
type_info object as a hash value.
Thanks,
Asfand Yar