WStringBuffer::Reserve

WStringBuffer::Reserve
template <unsigned int size>
struct Reserve : public ReserveHeader {
  wchar_t Buffer[size];
};
Description

Buffer data reservation object. Creates a buffer of fixed size, must be passed on the constructor.This is a template class. The template parameter "size" of type int specifies the size of the buffer, for example:

   WStringBuffer::Reserve<512> res1;

It inherits the ReserveHeader and sets ReserveHeader::pBuffer pointer to the array WStringBuffer::Reserve<size>::Buffer. Using separated ReserveHeader and Reserve<size> allows the rest of the WStringBuffer class not to be a template class.

Data Members
Data Member 
Description 
A wide character array of size "size". 
Methods
Method 
Description 
Constructs buffer data reservation object. 
File

SF_WString.h