|
ios::narrowpublic member function
char narrow ( char c, char dfault ) const; Narrow character Converts localized parameter c to its standard char equivalent.If the parameter c has no standard char equivalent, the function returns the parameter dfault. When the basic template basic_ios is used with a type other than char, the function also performs the appropiate conversion from the char_type used to the fundamental char type. Parameters
Return ValueThe char equivalent of c, if any. Otherwise, it returns dfault.Basic template member declaration( basic_ios<charT,traits> )
See also
|