Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

A product type is a user-defined data type (more specifically, an algebraic data type) which combines other types together. It contains multiple fields which individually store values.

Product type examples

edit edit source

The main example of a product type is the 'struct' data structure.