次の方法で共有


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.

Return Value

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.

Remarks

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

Example

See the example for scan_not, which calls do_scan_not.

Requirements

Header: <locale>

Namespace: std

See Also

Concepts

ctype Class

ctype Members