Compartir a través de


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 character immediately following 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

Reference

ctype Class

Other Resources

ctype Members