Y
Hacker News
new
|
ask
|
show
|
jobs
by
nurettin
2721 days ago
Back in early 2000s, we had bots on IRC doing this. My favorite technique was to pass the type to a template function, assign it to an integer and then parse the compile time error produced by gcc to extract the type.