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符號使用不當

熱門查詢