Knight KE / Mbed OS Game_Master
Embed: (wiki syntax)

« Back to documentation index

ArrayView.h File Reference

ArrayView.h File Reference

Go to the source code of this file.

Data Structures

struct  ArrayView< T, Size >
 Immutable view to an array. More...
struct  ArrayView< T, ARRAY_VIEW_DYNAMIC_SIZE >
 ArrayView specialisation that handle dynamic array size. More...

Namespaces

namespace  ble
 

Entry namespace for all BLE API definitions.


Functions

template<typename T , ptrdiff_t LhsSize, ptrdiff_t RhsSize>
bool operator== (const ArrayView< T, LhsSize > &lhs, const ArrayView< T, LhsSize > &rhs)
 Equality operator.
template<typename T , ptrdiff_t LhsSize, ptrdiff_t RhsSize>
bool operator!= (const ArrayView< T, LhsSize > &lhs, const ArrayView< T, LhsSize > &rhs)
 Not equal operator.
template<typename T , size_t Size>
ArrayView< T, Size > make_ArrayView (T(&elements)[Size])
 Generate an array view from a reference to a C/C++ array.
template<size_t Size, typename T >
ArrayView< T, Size > make_ArrayView (T *elements)
 Generate an array view from a pointer to a C/C++ array.
template<typename T >
ArrayView< T > make_ArrayView (T *array_ptr, size_t array_size)
 Generate an array view from a C/C++ pointer and the size of the array.
template<typename T , size_t Size>
ArrayView< const T, Size > make_const_ArrayView (T(&elements)[Size])
 Generate a const array view from a reference to a C/C++ array.
template<size_t Size, typename T >
ArrayView< const T, Size > make_const_ArrayView (const T *elements)
 Generate a const array view from a pointer to a C/C++ array.
template<typename T >
ArrayView< const T > make_const_ArrayView (T *array_ptr, size_t array_size)
 Generate a const array view from a C/C++ pointer and the size of the array.

Detailed Description

Definition in file ArrayView.h.