38#ifndef __MEM_RUBY_COMMON_QUEUE_HH__
39#define __MEM_RUBY_COMMON_QUEUE_HH__
92 void push(
const T &elem) {
queue.push_back({elem,
false}); }
95 template<
typename... Ts>
99 queue.push_back({T(std::forward<Ts>(args)...),
false});
114 void print(std::ostream& out)
const;
std::deque< ValType > queue
void pushNB(const T &elem)
void pushFrontNB(const T &elem)
void print(std::ostream &out) const
void pushFront(const T &elem)
void emplace(Ts &&... args)
std::ostream & operator<<(std::ostream &os, const BoolVec &myvector)
Copyright (c) 2024 - Pranith Kumar Copyright (c) 2020 Inria All rights reserved.