You are here: C++ Support Classes > dtSearch Namespace > Classes > DMemBuffer<typename Type> Template > DMemBuffer<typename Type>::extend Method
Close
dtSearch Text Retrieval Engine Programmer's Reference
DMemBuffer<typename Type>::extend Method
Syntax
C++
void extend(ptrdiff_t newSize, ptrdiff_t dataCount);

Try to ensure that the buffer is at least of a specified size, extending the buffer if necessary, and throw std::bad_alloc if the buffer cannot be extended