C++ function types
Here’s the relevant paragraph from the Standard. It pretty much speaks for itself. 8.3.5/10 A typedef of function type may be used to declare a function but shall not be used to define a function (8.4). Example: typedef void F(); F fv; // OK: equivalent to void fv(); F fv { } // ill-formed void … Read more