C++ 中英文术语对照

# 英-中文对照 格式化的perl代码
open(fd, ">result.txt");
while (<DATA>) {
    if ($_ =~ /./) {
        ($english, $chinese) = /(.*?)([\x80-\xff].*)/;
        $english =~ s/(.*?)(\s+$)/\1/;
        print fd sprintf ("%-40s%s\n", $english, $chinese);
    }
}

__DATA__
abstract 抽象的
....
  1 abstract                                抽象的
  2 abstraction                             抽象体
  3 access                                  存取,取用
  4 access function                         存取函数
  5 address-of operator                     取地址运算符 &
  6 algorithm                               算法
  7 argument                                实参
  8 array                                   数组
  9 arrow operator arrow                    运算符 ->
 10 assignment                              赋值
 11 assignment operator                     赋值运算符
 12 associated                              相应的,相关的
 13 associative container                   关联式容器(对应于sequential container)
 14 base class                              基类
 15 best viable function                    最佳可行函数(从 viable functions 中挑出最佳温和者)
 16 binding                                 绑定
 17 bit                                     位
 18 bitwise                                 “以bit为单元的。。。” bitwise copy
 19 block                                   块
 20 boolean                                 布尔值(真假值,true, false)
 21 byte                                    字节(8bits 所组成的一个单元)
 22 call operator   call                    运算符() (与function call operator 同)
 23 chain                                   链(chain of function calls)
 24 child class                             子类(或称 derived class, subtype)
 25 class                                   类
 26 class body                              类本身
 27 class declaration                       类声明, 类声明式
 28 class definition                        类定义, 类定义式子
 29 class derivation list                   类派生列
 30 class head                              类表头
 31 class template                          类模板
 32 class template partial specializations  类模板局部特殊化
 33 class template specializaiton           类模板特殊化
 34 cleanup                                 清理
 35 candidate function                      候选函数(在暗示重载解析程序中出现的候选函数)
 36 command line                            命令行 
 37 compiler                                编译器
 38 component                               组件
 39 concrete                                具体的
 40 container                               容器(可存放数据的一种结果,例如list, map, set)
 41 context                                 上下文, 背景关系,上下脉络
 42 const                                   常量(constant 的缩写,相对于变数 variable)
 43 constant                                不变的,相对于mutable(易变的)
 44 constructor                             构造函数(与class同名的一种member function) ctor
 45 data member                             数据成员,成员变量
 46 declaration                             声明,声明式
 47 deduction                               推导(例:template argument deduction)
 48 definition                              定义
 49 dereference                             提领(取出指标所指物体的内容)
 50 dereference operator                    提领预算法 *
 51 derived class                           派生类
 52 destructor (dtor)                       析构函数
 53 directive                               指令(例:using directive)
 54 dot operator dot                        运算符
 55 dynamic binding                         动态绑定
 56 entity                                  实体
 57 encapsulation                           封装
 58 enclosing class                         外围类
 59 enum(enumeration)                       枚举
 60 enumerators                             枚举成员
 61 equality operator                       等号运算符==
 62 evaluate                                评估,求值,核定
 63 exception                               异常,异常情况
 64 exception declaration                   异常声明
 65 exception handing                       异常处理,异常处理机制
 66 exception specification                 异常规格
 67 exit                                    退出
 68 explicit                                显式,明显的,明白的
 69 export                                  导出
 70 expression                              表达式
 71 facility                                机制
 72 flush                                   清理,扫清
 73 formal parameter                        形式参数
 74 forward declaration                     前置声明
 75 function                                函数
 76 function call operator                  与operator 同
 77 function object                         函数对象
 78 function overloaded resolustion         函数重载决议程序
 79 function signature                      函数签名
 80 function template                       函数模板
 81 generic                                 泛型,一般化的
 82 generic algorithm                       泛型算法
 83 global                                  全局的
 84 global scope resolution operator        全局生存空间运算符::
 85 handler                                 句柄
 86 header file                             头文件(放置各种类型定义,数据结构,函数声明的文件)
 87 hierarchy                               层次体系(base class 和derived class 派生类)
 88 implement                               实现
 89 implementation                          实现品,实现物,编译器
 90 implicit                                隐式,暗自的(explicit 显式)  
 91 increment operator                      自增运算符++
 92 inheritance                             继承,继承机制
 93 inline                                  内敛
 94 inline expansion                        内敛扩展
 95 initialization                          初始化(操作)
 96 initialization list                     初值列
 97 initialize                              初始化
 98 intance                                 实体(常指根据class而产生出来的object)
 99 instantiated                            具体化(应用于template)
100 invoke                                  调用,唤起
101 iterate                                 迭代(回圈一个轮回一个轮回地进行)
102 iterator                                迭代器
103 iteration                               迭代(回圈中的每一次轮回称之为igeinteration)
104 lifetime                                生命期,生命周期
105 linker                                  连接器
106 literal constant                        文字常量
107 list                                    链表
108 local                                   局部的
109 lvalue                                  左值
110 manipulator                             操作器
111 mechanism                               机制
112 member                                  成员
113 member access operator                  成员取用运算符(dot, arrow)
114 member function                         成员函数
115 member initialization list              成员初始化列表
116 memberwise                              以 member 为单元的。。例 memberwise copy
117 mutable                                 可变的,易变的 相对于 constant 不变的
118 most derived class                      最末层的派生类
119 namespace                               命名空间
120 nested class                            嵌套类
121 operand                                 操作数
122 operation                               操作行为
123 operator                                运算符
124 option                                  选项
125 overflow                                上限溢位(相对于 underflow)
126 overhead                                额外负担
127 overload                                重载
128 overloaded function                     重载函数
129 overloaded operator                     重载运算符
130 overloaded set                          重载集合
131 override                                改写。意指在derived class 中重新定义virtual function
132 parameter list                          参数表
133 parent class                            父类
134 parse                                   解析
135 partial specialization                  局部特殊化定义
136 pass by address                         传址
137 pass by reference                       传址
138 pass by value                           传值
139                                         
140                                         
141 platform                                平台
142 pointer                                 指针
143 polymorphism                            多态
144 preprocessor                            预处理器
145 programming                             编程,程序设计,程序化
146 project                                 工程
147 qualified                               限定的
148 qualifier                               限定词
149 raise                                   发生(常同来表示发出一个 exception)
150 rank                                    等级,分类
151 raw                                     未经处理的
152 reference  C++                          之中类似 pointer 指针的东西,意义相当于“化身”
153 represent                               表述,表现
154 resolve                                 决议。为表达式中的符号名称寻找对应声明的过程。
155 resolution                              决议程序,决议过程
156 rvalue                                  右值
157 scope                                   生存空间
158 scope operator                          生存空间运算符
159 scope resolution operator               生存空间决议运算符(与scope operator 同)
160 sequential  container                   循环容器
161 signature                               见function signature
162 specialization                          特殊化,特殊化定义,特殊化声明
163 stack                                   堆栈
164 stack unwinding                         堆栈展开
165 statement                               语句
166 stream                                  流
167 string                                  字符串
168 subscript operator                      下标运算符
169 subtype                                 子型别
170 target                                  目标
171 template                                模板
172 template argument deduction             模板变量推导
173 template explicit specialization        范本明白特殊化
174 template parameter                      模板参数
175 text file                               程序代码文件
176 throw                                   抛出
177 token                                   词法单元
178 type                                    型别
179 underflow                               下溢
180 unqualified                             未经资格修饰(而直接取用)
181 unwinding                               见stack unwinding
182 variable                                变量
183 vector                                  向量
184 viable                                  可实行的
185 viable  function                        可行函数
186 volatile                                易变的