void data_sample( const T& sample ) { minit = sample; // read each item from the queue // and re-init it with sample for( unsigned int i = 0; i < mpool.capacity(); ++i ) { mpit[i].content = minit; } }
/** * Returns the maximum number of elements. */ size_type capacity() const { return mpool.capacity(); }