November 17, 2006 Issues » [Issue 543] New: Function return of a deprecated type is not caught | |||
|---|---|---|---|
| |||
...DepUnion {}
enum DepEnum { A }
alias int DepAlias;
typedef int DepTypedef;
}
DepClass returnClass();
DepStruct returnStruct();
DepUnion... | |||
November 17, 2006 Issues » [Issue 542] New: Function parameter of a deprecated type (other than a class) is not caught | |||
|---|---|---|---|
| |||
...DepUnion {}
enum DepEnum { A }
alias int DepAlias;
typedef int DepTypedef;
}
void func(DepStruct obj) {}
void... | |||
November 15, 2006 Announce » Re: Article on Tuples | |||
|---|---|---|---|
| |||
...a variable declaration and then put alias/typedef on front of it; ever since I... | |||
November 15, 2006 Announce » Re: Article on Tuples | |||
|---|---|---|---|
| |||
...typedef/alias were: alias newname = oldname; I always thought the ordering for C++'s typedef... | |||
November 15, 2006 General » Re: auto storage class - infer or RAII? | |||
|---|---|---|---|
| |||
...matter what it is -- class, struct, or typedef." That said, even though there is a... | |||
November 14, 2006 General » Re: auto storage class - infer or RAII? | |||
|---|---|---|---|
| |||
...something like: // somewhere in Phobos ... typedef void* delegate() Allocate; typedef void delegate(void*) Deallocate; struct... | |||
November 14, 2006 General » Re: auto storage class - infer or RAII? | |||
|---|---|---|---|
| |||
...Phobos and treated as special by compiler
typedef void* delegate() DeterministicAllocator;
class Foo {
// 'new' is... | |||
November 13, 2006 Learn » Re: alias class | |||
|---|---|---|---|
| |||
...import std.stdio : writefln;
alias class Foo {}
typedef class Bar {}
void main()
{
Foo c = new... | |||
November 13, 2006 Learn » Re: alias class | |||
|---|---|---|---|
| |||
The grammar for alias and typedef is alias Declaration I don't know what the... | |||
November 13, 2006 Learn » alias class | |||
|---|---|---|---|
| |||
...that this is possible:
---
alias class Foo {
}
typedef class Bar {
}
---
What those attributes in a... | |||
Copyright © 1999-2021 by the D Language Foundation