Home | History | Annotate | Download | only in bpf_dsl

Lines Matching refs:head

21 // have a "head" and a "tail" element. A cell's head element contains
31 // prepending new values to the front using the "Cons(head, tail)"
68 List<T> Cons(const T& head, List<T> tail) {
69 return std::make_shared<Cell<T>>(head, std::move(tail));
76 Cell(const T& head, List<T> tail) : head_(head), tail_(std::move(tail)) {}
78 // Head returns this cell's head element.
79 const T& head() const { return head_; }
114 const T& operator*() const { return list_->head(); }