Effects: Applies the simplest reasonable transformation from a
charT
value or sequence of
charT
values to the corresponding
char
value or values
. For any named
ctype
category with a
ctype<char>
facet
ctc however, and
ctype_base::mask
value
M,
(is(M, c) || !ctc.is(M, do_narrow(c, dfault)) )
is
true
(unless
do_narrow
returns
dfault)
. In addition, for any digit character
c,
the expression
(do_narrow(c, dfault) - '0')
evaluates to the digit value of the character
. The second form transforms each character
*p
in the range
[
low, high),
placing the result (or
dfault
if no simple transformation is readily available) in
dest[p - low].