Type Signature
Type signatures (or Function types) are constructed from primitive and composite types, and can serve as types themselves when constructing composite types:
typedef struct { int x; int y; } Point; typedef double (*Metric) (Point p1, Point p2); typedef struct { Point centre; double radius; Metric metric; } Circle;Read more about this topic: Composite Data Type
Famous quotes containing the words type and/or signature:
“There is a limit to the application of democratic methods. You can inquire of all the passengers as to what type of car they like to ride in, but it is impossible to question them as to whether to apply the brakes when the train is at full speed and accident threatens.”
—Leon Trotsky (18791940)
“The childless experts on child raising also bring tears of laughter to my eyes when they say, I love children because theyre so honest. There is not an agent in the CIA or the KGB who knows how to conceal the theft of food, how to fake being asleep, or how to forge a parents signature like a child.”
—Bill Cosby (20th century)