Cell factory. Constructs and destroyes cell pointers with new and delete. More...
Public Member Functions | |
| New_cell_constructor () | |
| Default constructor. | |
| template<class... U> | |
| Cell * | construct (U &&... u) const |
| Constructs a cell with the given cell arguments. More... | |
| void | destroy (Cell *cell) const |
| Destroyes the given cell. More... | |
Friends | |
| void | swap (New_cell_constructor &col1, New_cell_constructor &col2) |
| Swap operator. | |
Cell factory. Constructs and destroyes cell pointers with new and delete.
|
inline |
|
inline |
Destroyes the given cell.
| cell | Cell pointer. |