fork(44) download
  1. #include <type_traits>
  2.  
  3. void f() {}
  4.  
  5. int main()
  6. {
  7. using FunctionPtr = std::add_pointer<void()>::type;
  8.  
  9. FunctionPtr ptr = f;
  10. }
Success #stdin #stdout 0s 2848KB
stdin
Standard input is empty
stdout
Standard output is empty