FastLED 3.9.15
Loading...
Searching...
No Matches

◆ at() [2/2]

template<typename T, size_t N>
const T & fl::array< T, N >::at ( size_type pos) const
inline

Definition at line 61 of file array.h.

61 {
62 if (pos >= N) {
63 return error_value();
64 }
65 return data_[pos];
66 }
T data_[N]
Definition array.h:120
static T & error_value()
Definition array.h:116
A fixed-size array implementation similar to std::array.
Definition array.h:19

References data_, error_value(), and pos.

+ Here is the call graph for this function: