Extended MaximInterface
Dependents: mbed_DS28EC20_GPIO
Diff: Utilities/array_span.hpp
- Revision:
- 7:471901a04573
- Parent:
- 6:a8c83a2e6fa4
--- a/Utilities/array_span.hpp Wed Jan 23 13:11:04 2019 -0600 +++ b/Utilities/array_span.hpp Mon Mar 04 08:10:00 2019 -0600 @@ -39,9 +39,10 @@ namespace MaximInterface { +/// @brief /// Defines a standard set of types for data fields that are represented as a /// fixed-size array of elements. -/// @note A const qualifier on T is not allowed. +/// @tparam T A const qualifier is not allowed. template <typename T, size_t N> struct array_span { typedef typename remove_volatile<T>::type element; static const size_t size = N;