The type
in typeid(type)
gets replaced by const std::type_info
#522
Labels
bug
Something isn't working
type
in typeid(type)
gets replaced by const std::type_info
#522
Hello Andreas,
cppinsights transpiles the
typeid
operator differently, depending on whether you usetypeid( type )
ortypeid( expression )
. When usingtyepid( type )
, the source type gets replaced byconst std::type_info
.It is not a big issue for me, but I suggest keeping the source type (in my example
int
), if possible.Source:
Insight:
Cheers and thanks a lot for this great tool!
The text was updated successfully, but these errors were encountered: