ctype::do_scan_is

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

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

Parameters

  • _MaskVal
    The mask value 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 does 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 true.

Example

See the example for scan_is, which calls do_scan_is.

Requirements

Header: <locale>

Namespace: std

See Also

Concepts

ctype Class

ctype Members