You are here: C++ Support Classes > dtSearch Namespace > Classes > DMemBuffer<typename Type> Template > DMemBuffer<typename Type>::extend Method
dtSearch Text Retrieval Engine Programmer's Reference
DMemBuffer<typename Type>::extend Method
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

Copyright (c) 1995-2023 dtSearch Corp. All rights reserved.