MCPcopy Create free account
hub / github.com/FastLED/FastLED / front

Method front

src/fl/stl/queue.h:64–66  ·  view source on GitHub ↗

@brief Access the first element (front of queue) @return Reference to the front element @note Undefined behavior if queue is empty

Source from the content-addressed store, hash-verified

62 /// @return Reference to the front element
63 /// @note Undefined behavior if queue is empty
64 reference front() {
65 return mContainer.front();
66 }
67
68 /// @brief Access the first element (front of queue) - const version
69 /// @return Const reference to the front element

Callers 15

readChunkMethod · 0.45
nextChunkSizeMethod · 0.45
circular_bufferClass · 0.45
PriorityQueueClass · 0.45
flat_mapClass · 0.45
vector.hFile · 0.45
VectorSetFixedClass · 0.45
VectorSetClass · 0.45
updateFunction · 0.45
updateFunction · 0.45

Calls

no outgoing calls

Tested by 7

retrieveFunction · 0.36
test_push_frontFunction · 0.36
test_emplace_frontFunction · 0.36
test_pop_frontFunction · 0.36
test_map_front_backFunction · 0.36