1 #ifndef BARRY_CELL_BONES_HPP
2 #define BARRY_CELL_BONES_HPP 1
10 template <
class Cell_Type >
class Cell {
16 Cell(Cell_Type value_,
bool visited_ =
false,
bool active_ =
true) :
30 value(std::move(arg.value)),
31 visited(std::move(arg.visited)),
32 active(std::move(arg.active)) {} ;
37 void add(Cell_Type x);
41 operator Cell_Type()
const {
return this->
value;};
Entries in BArray. For now, it only has two members:
bool operator!=(const Cell< Cell_Type > &rhs) const
Cell(const Cell< Cell_Type > &arg)
Cell(Cell_Type value_, bool visited_=false, bool active_=true)
Cell< Cell_Type > & operator=(const Cell< Cell_Type > &other)
bool operator==(const Cell< Cell_Type > &rhs) const
Cell(Cell< Cell_Type > &&arg) noexcept
Data_Type &&counter_ noexcept