共用方式為


char_traits::int_type

可以表示型別 char_type 字元或檔案結尾 (EOF) 字元的整數型別。

typedef long int_type;

備註

型別轉換型別 CharType 的值加入至 int_type 回到 CharType 一定是可行的,但不修改原始值。

範例

如需範例的 eq_int_type 看到這個範例示範如何宣告和使用 int_type

需求

標題: <string>

命名空間: std

請參閱

參考

char_traits Struct