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