【C】Pointer (5) About Function Type

※ 日本語ページはこちら

Function type. Let’s take a look at what standard says.

A function type describes a function with specified return type.

A function type is characterized by its return type and the number and types of its parameters.

A function type is said to be derived from its return type, and if its return type is T, the function type is sometimes called ‘‘function returning T’’.

The construction of a function type from a return type is called ‘‘function type derivation’’.

ref: http://www.open-std.org/jtc1/sc22/wg14/www/docs/n1256.pdf#page=47

Let’s condense.

Function type is characterized by return type and parameter type, and return type is important. The construction of a function type from a return type is called ‘‘function type derivation’’.

Let’s condense more.

Function type is almost characterized by return type.

That’s my understanding.

That’s all for this article.