Go to the documentation of this file.
32 #ifndef GTEST_SAMPLES_SAMPLE3_INL_H_
33 #define GTEST_SAMPLES_SAMPLE3_INL_H_
90 if (node ==
nullptr)
break;
122 last_->next_ = new_node;
142 E* element =
new E(old_head->
element());
151 template <
typename F>
155 node = node->next_) {
156 new_queue->
Enqueue(
function(node->element()));
172 #endif // GTEST_SAMPLES_SAMPLE3_INL_H_
QueueNode(const E &an_element)
Queue * Map(F function) const
const E & element() const
const Queue & operator=(const Queue &)
const QueueNode< E > * Last() const
const QueueNode * next() const
const QueueNode< E > * Head() const
void Enqueue(const E &element)
static size_t next(const upb_table *t, size_t i)
const QueueNode & operator=(const QueueNode &)
libaditof
Author(s):
autogenerated on Wed May 21 2025 02:06:58