Hacker News new | ask | show | jobs
by rrhjm53270 193 days ago
A trick that I used was

``` struct dummy{}; dummy d = ANYTHING_YOU_WANT_GO_GET_THE_TYPE; ```

Compile it with g++, and get the type info from compilation error -:)