BLE: Export byte_array_t size exploitable at compile time.

pull/6932/head
Vincent Coubard 2018-04-04 15:21:05 +01:00
parent 7bf0eb009a
commit bf41bb3164
1 changed files with 5 additions and 0 deletions

View File

@ -263,6 +263,11 @@ private:
template <size_t array_size>
struct byte_array_t {
/**
* Size of the array; accessible at compile time.
*/
static const size_t size_ = array_size;
/**
* Default to all zeroes
*/