May 17, 2012 General » Re: Why typedef's shouldn't have been removed :( | |||
|---|---|---|---|
| |||
H. S. Teoh: Something like this? http://d.puremagic.com/issues/show_bug.cgi?id... | |||
May 17, 2012 General » Re: Why typedef's shouldn't have been removed :( | |||
|---|---|---|---|
| |||
...’ in initialization where int* has been typedef'd to CSPTR. Note that both are... | |||
May 17, 2012 General » Re: Why typedef's shouldn't have been removed :( | |||
|---|---|---|---|
| |||
Clang already does this with C++ for error messages, I see no reason why DMD... | |||
May 17, 2012 General » Re: Why typedef's shouldn't have been removed :( | |||
|---|---|---|---|
| |||
I'd point out though that if your problem is type deduction and compile time... | |||
May 17, 2012 General » Re: Why typedef's shouldn't have been removed :( | |||
|---|---|---|---|
| |||
Ugh, ran into a problem again... I was hoping I could do a type deduction... | |||
May 16, 2012 General » DFL? | |||
|---|---|---|---|
| |||
...use of typedef is deprecated; use alias instead application.d(1842): use of typedef is... | |||
May 13, 2012 General » The future of the WindowsAPI bindings project | |||
|---|---|---|---|
| |||
...else {
template HANDLE__(T) {
mixin("typedef T HANDLE__;");
}
mixin("typedef void* HANDLE;");
}
template DECLARE_HANDLE... | |||
May 11, 2012 General » Re: Why typedef's shouldn't have been removed :( | |||
|---|---|---|---|
| |||
eg. IFTI.
Object x;
void foo(T)(T arg){ x = arg; }
void main(){
foo(null... | |||
May 11, 2012 General » Re: Why typedef's shouldn't have been removed :( | |||
|---|---|---|---|
| |||
To be honest, I was surprised that a black hole didn't open up and... | |||
May 11, 2012 General » Re: Why typedef's shouldn't have been removed :( | |||
|---|---|---|---|
| |||
cast voids the warranty, especially cast(typeof(null)) | |||
Copyright © 1999-2021 by the D Language Foundation