|
mdds
|
#include <multi_type_matrix.hpp>
Concept that a matrix traits type must satisfy. A matrix traits type specifies the element blocks that the matrix can store. It must have the following members:
numeric_element_block - element block type that stores the numeric elements. Its value type must be constructible from 0. This member is required. element_blocks - std::tuple that lists the element block types of all the other element types the matrix can store, such as boolean, integer and string. The tuple is used only as a list of types. This member is optional. When it is absent, the matrix stores only numeric and empty elements. Each block type must be an element block type whose value type has its element callbacks defined. All block types must have distinct block type ids, and the numeric block type must not also appear in element_blocks.