typedef
类型定义
常用释义
英式发音
美式发音
基本释义
- n. 定义类型
例句
-
1·Accessing typedef enum by the number?访问类型定义枚举的号码吗?
-
2·A typedef is used to give the type a shorter name of sp_args.typedef用来给类型一个短名sp_args。
-
3·It will make your method more readable if you typedef a float to be used within this method.如果在该方法中使用typedef float语句,这将使该方法更具可读性。
-
4·The typedef keyword must be present, unless you are specifying the arrays as part of a structure.必须出现typedef关键字,除非指定的数组是结构的一部分。
-
5·You should use typedef to create a new name for a type that will help clarify the interface or save typing.应该使用typedef创建新的类型名称,这将帮助解释接口或保存输入。
-
6·These complex types can be enumerations, structures, and unions, or you can use typedef to create a new name for a type.这些复杂的类型可以是枚举、结构和联合,或者您可以使用 typedef 来创建类型的新名称。
-
7·You could use a typedef to define a callback and make clients supply it, something similar to qsort-but that's so old-hat.你可以用typedef来定义一个回调并让客户机来提供这个回调,这种做法有些类似qsort——但那样太老土了。
-
8·To model a C++ typedef, create a UML class and apply the cpp_typdef stereotype on it. This stereotype provides three property/value pairs要建模 C++ typedef,需要创建一个 UML 类并在其上应用 cpp_typdef 原型。
-
9·The BindingClass is transformed as a typedef element, and you will get a list with ParamClass in MyClass. Similarly, you can have a list of any type.BindingClass被转换为一个typedef元素,然后您会得到一个MyClass中带有ParamClass的list,您可以拥有任意类型的list。
-
10·Therefore, two parameters that differ only in that one uses a typedef and the other uses the type to which the typedef corresponds are not different.所以,如果两个形参的差别只是一个使用typedef 定义的类型名,而另一个使用typedef 对应的原类型名,则这两个形参并无不同。