typedef

typedef

 英

  • 网络类型定义;定义类型;类型说明

例句

As such, it is often used in writing more aesthetic and readable code.

比如人们常常使用typedef编写美观代码

As the following example shows, the Point value type becomes a type definition (typedef) with the name Point.

下面示例Point类型变为Point类型定义typedef)。

All references to the Point value type elsewhere in the type library are replaced with the Point typedef.

类型其他地方所有Point类型引用替换Pointtypedef

The typedef into ax_t design ates a signed integer type cap able of representing any value of any signed integer type.

t表示一个符号整数类型可以表示任意符号整数类型

Surprising as it may sound, typedef is a storage class specifier, just like auto, extern, mutable, static and register.

这种说法是不是有点令人惊讶typedefauto,extern,mutable,static,register一样一个存储关键

The typedef keyword must be present, unless you are specifying the arrays as part of a structure.

必须出现typedef关键字除非指定数组结构一部分

The typedefs I've shown thus far behave like a #define macro that substitutes a synonym with its actual type.

上面讨论typedef行为有点#define实际类型替代同义字

Name adapted With typedef definition pointer to a function pointer type, how to get dynamic connection pool of a function pointer.

typedef定义指向函数指针类型如何获得动态连接函数指针。-DLLprogramcode。

Double-clicking class, struct, union, typedef, or their member fields navigates to the element declaration location.

双击结构联合体类型定义或者它们成员字段定位这个元素声明位置

Gets an enumerator for an array of generic parameter tokens associated with the specified TypeDef or MethodDef token.

获取指定标记表示参数关联数据

Typedef declarations help create platform-independent types and can even hide complex or unintelligible syntax.

Typedef声明有助于创建平台无关类型甚至隐藏复杂难以理解语法

Obviously, the use of a typedef here isn't a prerogative but a must.

显然这里使用typedef不是一种特权而是一种必需

The only thing that will change is the typedef itself.

唯一typedef本身

In paint-types. h, dd a typedef line analog to the one used for GimpPaintbrush.

paint-types.hdd一个typedef模拟lineanalogGimpPaintbrush使用模拟

The CORBA specification provides no guarantee that two typedefs of a short will be compatible and interchangeable.

CORBA规范保证shorttypedef兼容互换

X-name is a use of an identifier in a context that determines its meaning (e. g. class-name, typedef-name).

名称表示通过上下文决定某个标识符比如名称类型定义名称)。

In C++ the typedef keyword suggests type definition when in fact alias would probably be a more accurate term.

C++typedef关键字表示类型定义实际上别名也许更为精确术语

The Standard Library uses typedefs extensively to create such platform-independent types: size_t, ptrdiff_t and fpos_t are a few examples.

标准广泛使用typedef创建这样平台无关类型:size_t,ptrdifffpos_t就是其中例子

You should use typedef to create a new name for a type that will help clarify the interface or save typing.

应该使用typedef创建类型名称帮助解释接口保存输入

typedef declaration, or a typedef for short, creates a new name for an existing type.

typedef声明简称typedef现有类型创建一个名字

Shows how to make a typedef for a managed array.

显示如何托管数组创建typedef

With the help of this profile you can model CORBA-specific types like struct, valuetype, typedef, and so on.

这个配置文件帮助能够特定CORBA类型例如结构体变量类型类型定义等等

It will make your method more readable if you typedef a float to be used within this method.

如果方法使用typedeffloat语句使方法具可读性

A typedef is used to give the type a shorter name of sp_args.

typedef用来类型一个sp_args。

The most common use of typedefs is creating mnemonic type names that document the programmer's intention.

typedef使用最多地方创建易于记忆类型归档程序员意图

On machines that don't support long double, this typedef will look like this

支持longdouble机器typedef看起来下面这样

Value type becomes a type definition typedef with the name

类型变为

Visualization (graphic representation) of C++ class, struct, enum, and typedef as UML classifiers

C++可视图形表示),数据类型结构枚举以及UML分类类型定义

Define a typedef that will be used every time you need an array of the same type and size

定义一个typedef每当相同类型大小数组可以这样

Use of benign typedef redefinitions within the same scope

同一范围使用良性typedef定义

Improper use of a typedef symbol typedef

符号使用不当文件使

Improper use of a typedef symbol

typedef符号使用不当

热门查询