42 template <
class IT,
class NT>
55 void Set(
const std::vector<int> & maxsizes,
int mA)
57 p_c = maxsizes.size();
58 totmax = std::accumulate(maxsizes.begin(), maxsizes.end(), 0);
60 std::fill_n(inds,
totmax, -1);
63 std::partial_sum(maxsizes.begin(), maxsizes.end()-1,
dspls+1);
OptBuf(const OptBuf< IT, NT > &rhs)
void Set(const std::vector< int > &maxsizes, int mA)
OptBuf< IT, NT > & operator=(const OptBuf< IT, NT > &rhs)