|
MaxMatrix
Drive chained 8x8 LED dot matrix modules with MAX7219.
|
Converts a value of make_array() that would narrow, a number, into an element. More...
#include <array.h>
Static Public Member Functions | |
| static constexpr bool | Fits (Value value) |
| Returns whether value is the same as an element as it was. | |
| static constexpr T | Of (Value value) |
| Returns value as an element, or stops the build if it does not fit. | |
Converts a value of make_array() that would narrow, a number, into an element.
| T | The type of the elements. |
| Value | The type of the value, as written. |
| Braced | T, if a T is made of a Value in braces, which refuse narrowing; then the specialization below applies. |
|
inlinestaticconstexpr |
Returns whether value is the same as an element as it was.
| [in] | value | The value. |
|
inlinestaticconstexpr |
Returns value as an element, or stops the build if it does not fit.
| [in] | value | The value. |