October 09, 2006 Issues » [Issue 412] overloaded function resolution with null parameter | |||
|---|---|---|---|
| |||
...typedef to be able to have different function overloads in both cases. That is "typedef... | |||
October 09, 2006 Issues » [Issue 412] overloaded function resolution with null parameter | |||
|---|---|---|---|
| |||
...we use: alias char[] string; Name "String" implies a class, and typedef gives error below. -- | |||
October 09, 2006 Issues » [Issue 412] New: overloaded function resolution with null parameter | |||
|---|---|---|---|
| |||
...bugzilla@digitalmars.com
ReportedBy: benoit@tionex.de
typedef char[] String;
void f( char[] c, char... | |||
October 06, 2006 Issues » Re: [Issue 289] New: Compiler allows (and crashes on) dynamic arrays of typedefs of "immediate"-function types | |||
|---|---|---|---|
| |||
...nocompile/t/typedef_21_A.d http://dstress.kuehne.cn/nocompile/t/typedef_21_B... | |||
October 05, 2006 Learn » Re: Recursive typedef | |||
|---|---|---|---|
| |||
Oh yah is it flexable.
Add a few more types of nesting {}, (), [] <>, <%%> or maby have... | |||
October 05, 2006 Learn » Re: Recursive typedef | |||
|---|---|---|---|
| |||
So, in principle you are using a stack, the current struct "nest" is your top... | |||
October 05, 2006 Learn » Re: Recursive typedef | |||
|---|---|---|---|
| |||
One interesting things about the delegate form is that it can be used to make... | |||
October 05, 2006 Learn » Re: Recursive typedef | |||
|---|---|---|---|
| |||
I think i remember something similar about recursive function types from one of my lectures... | |||
October 05, 2006 Learn » Re: Recursive typedef | |||
|---|---|---|---|
| |||
It works easily when i use classes (just as a workaround):
interface ParseFn
{
ParseFn opCall... | |||
October 05, 2006 Learn » Re: Recursive typedef | |||
|---|---|---|---|
| |||
That's exactly what i use it for - it's almost functional programming :) | |||
Copyright © 1999-2021 by the D Language Foundation