C++相談室 part22
■ このスレッドは過去ログ倉庫に格納されています
0045デフォルトの名無しさん
NGNG適用すると、実際の型が返ってくるとは限らない。
5.2.8 Type identification
3 When typeid is applied to an expression other than an lvalue of a polymorphic class type, the result
refers to a type_info object representing the static type of the expression.
>>42
処理系とテストコード晒してみ?
■ このスレッドは過去ログ倉庫に格納されています