July 19, 2006 General » Re: constness for arrays | |||
|---|---|---|---|
| |||
...alias allows to extend base types. Extended typedef allows to extend and to reduce operations... | |||
July 19, 2006 General » Re: constness for arrays | |||
|---|---|---|---|
| |||
...think that such extended typedef makes sense for other basic types:
typedef color uint
{
uint... | |||
July 19, 2006 General » Re: constness for arrays | |||
|---|---|---|---|
| |||
I like that typedef. Should be templatable though...
typedef(T) array T[]
{
...
}
Or some such... | |||
July 19, 2006 General » Re: constness for arrays | |||
|---|---|---|---|
| |||
...example string definition might look like as:
typedef string char[]
{
disable opAssign;
....
char[] tolower() { ..... }
}
In... | |||
July 18, 2006 Issues » [Issue 249] circular typedef and alias bugs | |||
|---|---|---|---|
| |||
http://d.puremagic.com/issues/show_bug.cgi?id=249
jpelcis@gmail.com changed:
What... | |||
July 18, 2006 c++ » Redundant typedefs allowed? | |||
|---|---|---|---|
| |||
...PIUtilities.h"
/***************************************************************/
#if MSWindows
typedef HFILE FileHandle;
typedef Handle AliasHandle;
typedef struct
{
char fileName [256... | |||
July 17, 2006 D » Re: Signal/Slot mechanism? | |||
|---|---|---|---|
| |||
Like this Module ss.d typedef void delegate(...) SIGNAL; typedef void delegate(...) SLOT; struct SIGNAL... | |||
July 17, 2006 D » Re: signal slot mechanism | |||
|---|---|---|---|
| |||
Like this Module ss.d typedef void delegate(...) SIGNAL; typedef void delegate(...) SLOT; struct SIGNAL... | |||
July 16, 2006 General » Re: IsExpression question | |||
|---|---|---|---|
| |||
...spec states: "If TypeSpecialization is one of typedef struct union class interface enum function delegate... | |||
July 16, 2006 Issues » typedef, implicit cast, bug or feature? | |||
|---|---|---|---|
| |||
...stdio;
class BaseClass {
int BaseProp() { return 1; }
}
typedef BaseClass ClassTypedef;
void testfunc(ClassTypedef t) { writefln... | |||
Copyright © 1999-2021 by the D Language Foundation