Skip to content

Instantly share code, notes, and snippets.

@naxmefy
Created December 15, 2019 17:58
Show Gist options
  • Save naxmefy/795193ad412354d49fd9c8edb0210cc8 to your computer and use it in GitHub Desktop.
Save naxmefy/795193ad412354d49fd9c8edb0210cc8 to your computer and use it in GitHub Desktop.
#include <iostream>
#include <typeinfo>
int main(){
auto x = *<:??)()??<%>;
std::cout << typeid(x).name() << std::endl;
typedef void (*cfunp_t) ();
std::cout << typeid(cfunp_t).name() << std::endl;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment