ctype::do_tolower
呼叫的虛擬函式轉換字元的範圍為小寫。
virtual CharType do_tolower(
CharType ch
) const;
virtual const CharType *do_tolower(
CharType* first,
const CharType* last
) const;
參數
ch
要轉換的字元轉換為小寫。first
第一個字元的指標在要轉換大小寫字元的範圍內。last
對應至字元的指標在要轉換大小寫字元範圍內的最後一個字元之後。
傳回值
第一個受保護的成員函式傳回參數 ch小寫形式。如果小寫表單不存在,則會傳回 ch。第二個受保護的成員函式傳回 last。
備註
第二個受保護的成員樣板函式會以 do_tolower(first []I取代 I 的每個項目 firstI[],在間隔 [0, last – first),)。
範例
為 tolower"範例"一節,呼叫 do_tolower。
需求
標題: <locale>
命名空間: std