c++ - Why is std::type_info noncopyable? Am I allowed to store it somewhere? -


std :: type_info class is non-copyable This is an object It makes it difficult to store what should I do?

There is a better solution in C ++ 11. A new copy wrapper called std :: type_index. To use it you need to include the header "Type Index".

Comments