May 10, 2011 Learn » Re: string[] enumerations | |||
|---|---|---|---|
| |||
...an enum with a struct and some typedef magic: http://codepad.org/RNYyyFqc So it... | |||
May 10, 2011 Genel » SDL D ilintileri | |||
|---|---|---|---|
| |||
...typedef struct Foo* pFoo; typedef struct Foo* lpFoo; ``` Tabii aslında önceki typedef'lerden yararlandıkça: ``` typedef... | |||
May 10, 2011 Genel » SDL D ilintileri | |||
|---|---|---|---|
| |||
...html>) şu şekilde bir örnek vermiş.
'C :'
```
typedef struct Foo
{ int a;
int b;
} Foo... | |||
May 09, 2011 Genel » SDL ilinti çalışmaları | |||
|---|---|---|---|
| |||
...Bunların orijinalleri de şu şekilde değil mi: ``` typedef struct _FcCharSet FcCharSet; FcPublic FcCharSet* FcCharSetCreate (void... | |||
May 07, 2011 Genel » SDL ilinti çalışmaları | |||
|---|---|---|---|
| |||
...len); ``` Gene genelde diğerleri de bu yapıdaydı ``` typedef int function (SDL_RWops *context, int offset... | |||
May 06, 2011 Announce » Re: Patterns of Human Error - my presentation at the DC ACM | |||
|---|---|---|---|
| |||
...a bug: typedef long T; But did you meant to write this? typedef long long... | |||
May 03, 2011 General » Re: OOP, faster data layouts, compilers | |||
|---|---|---|---|
| |||
...an important part of that C version: typedef double v2df __attribute__ ((vector_size(16))); /* vector... | |||
April 29, 2011 Genel » Problem çözümleri eksik olan dersler | |||
|---|---|---|---|
| |||
...bu, D'deki "sınıf değişkeni" gibi oluyor typedef boost::shared_ptr<BirSinif> BirSinifPtr; // Nesne yapma... | |||
April 26, 2011 Learn » Re: Method overloading without Type2Type | |||
|---|---|---|---|
| |||
...1 bit on LDC):
struct Type2Type(T){
typedef T OriginalType;
}
static assert ((Type2Type!int).sizeof... | |||
April 26, 2011 Learn » Method overloading without Type2Type | |||
|---|---|---|---|
| |||
...follows:
import std.stdio;
struct Type2Type(T){
typedef T OriginalType;
}
class foo(T,R...) : foo... | |||
Copyright © 1999-2021 by the D Language Foundation