#include <allocator.hh>
Public Member Functions | |
RowSizeHolder (int i) | |
template<typename Op > | |
RowSizeHolder (const Operator< Op > &op) | |
int | num_rows () const |
For internal use only.
This struct holds the number of rows, only allocating space if necessary.
RowSizeHolder | ( | int | i | ) |
Construct from an int to provide a run time size if necessary.
i | The size, which is discarded for the static case. |
RowSizeHolder | ( | const Operator< Op > & | op | ) |
int num_rows | ( | ) | const |
Return the number of rows.