20:30:27drmeisterFrom #C++ "abusing the ternary operator with a constant first operand in order to effect a cast is unforgivable. the developer should be taken outside and shot."
20:32:20Bikeno, i mean like, couldn't you just do static_class_id(get_pointer(p))
20:32:31Bikesince get_pointer(p) has the type you want the class_id of
20:36:45drmeisterYes - I think they are doing an obfuscated cast of 0 to (decltype(get_pointer(p))) - I don't know why though. I don't know if there is some subtle reason to want to do that.
20:39:38Bikethis code says it was written in 2002, and decltype was added in C++11