Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CPP

c++ compare type

typeid(object) == typeid(Foo)
typeid(*objectPointer) == typeid(Foo)
 
PREVIOUS NEXT
Tagged: #compare #type
ADD COMMENT
Topic
Name
8+3 =