Create a proctor that clears the specified string.

Synopsis

Declared in <bslstl_string.h>

explicit
String_ClearProctor(FULL_STRING_TYPE* stringPtr);

Description

Create a String_ClearProctor for the specified stringPtr, and set both the length of stringPtr to 0 and the first character of stringPtr to CHAR_TYPE().

Parameters

Name

Description

stringPtr

address of the string to clear and restore

Created with MrDocs