YSTest  PreAlpha_b500_20140530
The YSLib Test Project
 全部  命名空间 文件 函数 变量 类型定义 枚举 枚举值 友元 宏定义  
chrdef.h
浏览该文件的文档.
1 /*
2  © 2009-2014 FrankHB.
3 
4  This file is part of the YSLib project, and may only be used,
5  modified, and distributed under the terms of the YSLib project
6  license, LICENSE.TXT. By continuing to use, modify, or distribute
7  this file you indicate that you have read the license and
8  understand and accept it fully.
9 */
10 
28 #ifndef YF_INC_CHRLib_chrdef_h_
29 #define YF_INC_CHRLib_chrdef_h_ 1
30 
31 #include "YModules.h"
32 #include <ydef.h>
33 #include <string> // for std::char_traits;
34 #include YFM_YCLib_Platform // for YF_API;
35 
36 namespace CHRLib
37 {
38 
39 using ystdex::byte;
40 using ystdex::size_t;
41 
43 
44 using ucs2_t = char16_t;
45 using ucs4_t = char32_t;
46 using ucsint_t = std::char_traits<ucs4_t>::int_type;
47 
48 
49 } // namespace CHRLib;
50 
51 #endif
52 
系统环境和公用类型和宏的基础定义。
unsigned char byte
字节类型。
Definition: ydef.h:555
char16_t ucs2_t
UCS-2 字符类型。
Definition: chrdef.h:44
char32_t ucs4_t
UCS-4 字符类型。
Definition: chrdef.h:45
std::char_traits< ucs4_t >::int_type ucsint_t
UCS 整数类型。
Definition: chrdef.h:46