This documentation is archived and is not being maintained.

ctype::do_scan_not 

A virtual function called to locate the first character in a range that does not match a specified mask.


virtual const CharType *do_scan_not(
   mask _MaskVal, 
   const CharType* _First,
   const CharType* _Last
) const;

Parameters

_MaskVal

The mask value not to be matched by a character.

_First

A pointer to the first character in the range to be scanned.

_Last

A pointer to the last character in the range to be scanned.

A pointer to the first character in a range that doesn't match a specified mask. If no such value exists, the function returns _Last.

The protected member function returns the smallest pointer _Ptr in the range [_First, _Last) for which do_is(_MaskVal, *_Ptr) is false.

See the example for scan_not, which calls do_scan_not.

Header: <locale>

Reference

ctype Class

Other Resources

ctype Members

Show: