4 ms·
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
by rrhjm53270 10mo 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 -:)