Jump to page: 1 213  
Page
Thread overview
DMD 0.137 release
Oct 24, 2005
Walter Bright
Oct 24, 2005
Sean Kelly
Oct 24, 2005
Vathix
Oct 25, 2005
Walter Bright
Oct 25, 2005
Russ Lewis
Oct 25, 2005
Ivan Senji
Oct 25, 2005
Walter Bright
Oct 25, 2005
Uwe Salomon
Oct 25, 2005
Walter Bright
Oct 26, 2005
Dave
Oct 25, 2005
Sai
Oct 25, 2005
Walter Bright
Oct 26, 2005
Dave
Oct 26, 2005
Walter Bright
Oct 26, 2005
Carlos Santander
Oct 27, 2005
Lionello Lunesu
Oct 26, 2005
Hauke Duden
Oct 26, 2005
Hauke Duden
Oct 26, 2005
Walter Bright
Oct 26, 2005
Sean Kelly
Oct 26, 2005
Sean Kelly
Oct 26, 2005
Sean Kelly
Oct 27, 2005
Ivan Senji
Oct 27, 2005
Sean Kelly
Oct 26, 2005
Vathix
Oct 26, 2005
Walter Bright
Oct 26, 2005
Sean Kelly
Nov 02, 2005
Sean Kelly
Nov 02, 2005
Russ Lewis
Nov 02, 2005
Sean Kelly
Nov 02, 2005
Russ Lewis
Nov 02, 2005
Sean Kelly
Nov 02, 2005
Russ Lewis
Nov 02, 2005
Sean Kelly
Oct 26, 2005
Dave
Oct 26, 2005
Dave
Oct 27, 2005
Walter Bright
Nov 01, 2005
Garett Bass
Oct 26, 2005
Bruno Medeiros
Oct 26, 2005
Walter Bright
Oct 26, 2005
Bruno Medeiros
Oct 27, 2005
Walter Bright
Oct 27, 2005
Sean Kelly
Oct 27, 2005
Ivan Senji
Oct 27, 2005
Sean Kelly
Oct 27, 2005
Ivan Senji
Oct 28, 2005
Dave
Oct 28, 2005
Ivan Senji
Oct 28, 2005
Dave
Oct 28, 2005
Ivan Senji
Oct 29, 2005
Hauke Duden
Oct 27, 2005
Regan Heath
Oct 27, 2005
Ivan Senji
Oct 27, 2005
Regan Heath
Oct 27, 2005
Sean Kelly
Oct 27, 2005
Regan Heath
Oct 27, 2005
Sean Kelly
Oct 27, 2005
Regan Heath
Oct 28, 2005
Dave
Oct 28, 2005
Walter Bright
Oct 28, 2005
Dave
Oct 28, 2005
Bruno Medeiros
Oct 28, 2005
Sean Kelly
Oct 28, 2005
Dave
Oct 29, 2005
Bruno Medeiros
Oct 31, 2005
Niko Korhonen
Oct 27, 2005
Bruno Medeiros
Oct 27, 2005
Ivan Senji
Oct 28, 2005
Bruno Medeiros
Oct 28, 2005
Ivan Senji
Oct 29, 2005
Bruno Medeiros
Oct 24, 2005
Sean Kelly
Oct 25, 2005
Walter Bright
Oct 25, 2005
John Reimer
Oct 25, 2005
Walter Bright
Oct 26, 2005
John Reimer
Oct 26, 2005
Sean Kelly
Oct 27, 2005
John Reimer
Oct 27, 2005
Sean Kelly
Oct 27, 2005
John Reimer
Oct 27, 2005
Walter Bright
Oct 26, 2005
Carlos Santander
Oct 26, 2005
Walter Bright
Oct 26, 2005
Vathix
Oct 26, 2005
Walter Bright
Oct 26, 2005
John C
Oct 26, 2005
Walter Bright
Nov 13, 2005
renox
Nov 13, 2005
Ivan Senji
Nov 13, 2005
renox
Oct 26, 2005
Stewart Gordon
Oct 26, 2005
pragma
Oct 26, 2005
Stewart Gordon
Oct 26, 2005
John C
Oct 27, 2005
Walter Bright
Oct 26, 2005
Walter Bright
Oct 28, 2005
Kyle Furlong
Oct 28, 2005
Kyle Furlong
Oct 28, 2005
Ivan Senji
Oct 28, 2005
Walter Bright
Oct 28, 2005
James Dunne
Oct 28, 2005
Walter Bright
Oct 29, 2005
James Dunne
Oct 29, 2005
Georg Wrede
Oct 29, 2005
Walter Bright
Oct 29, 2005
Georg Wrede
Oct 30, 2005
Walter Bright
Oct 31, 2005
Georg Wrede
Oct 31, 2005
James Dunne
Oct 31, 2005
Sean Kelly
Oct 31, 2005
Sean Kelly
Nov 03, 2005
James Dunne
Nov 01, 2005
Walter Bright
Nov 02, 2005
Sean Kelly
Nov 02, 2005
Walter Bright
Nov 03, 2005
James Dunne
Nov 03, 2005
Sean Kelly
Nov 03, 2005
Georg Wrede
Nov 03, 2005
Sean Kelly
Nov 06, 2005
Walter Bright
Nov 05, 2005
Burton Radons
Nov 05, 2005
Walter Bright
Nov 05, 2005
Burton Radons
Nov 06, 2005
Walter Bright
October 24, 2005
A couple of oft-requested features.

http://www.digitalmars.com/d/changelog.html



October 24, 2005
In article <djjpa0$1o9n$2@digitaldaemon.com>, Walter Bright says...
>
>A couple of oft-requested features.

Very nice!


Sean


October 24, 2005
On Mon, 24 Oct 2005 19:02:00 -0400, Walter Bright <newshound@digitalmars.com> wrote:

> A couple of oft-requested features.
>
> http://www.digitalmars.com/d/changelog.html
>

On http://www.digitalmars.com/d/declaration.html#AutoDeclaration that anchor does not seem to exist and I can not find the word inference.
October 24, 2005
In article <djjpa0$1o9n$2@digitaldaemon.com>, Walter Bright says...
>
>A couple of oft-requested features.

I'm running into an odd error with typeof.  I have this line in std.c.stddef:

alias typeof(int.sizeof) size_t;

and have this in object.d:

public import std.c.stddef;

When I try to compile stddef I get this error:

C:\bin\dmd\src\ares\std\c>dmd -c stddef.d
stddef.d(10): size of type typeof(4) is not known

When I move the alias into object.d however, the error goes away.  This pattern worked fine when I was using version blocks to define the size_t alias, so it's something to do with typeof.  Any ideas?


Sean


October 25, 2005
"Vathix" <chris@dprogramming.com> wrote in message news:op.sy6bxz0dl2lsvj@esi...
> On http://www.digitalmars.com/d/declaration.html#AutoDeclaration that anchor does not seem to exist and I can not find the word inference.

I hadn't posted the updated doc yet. It's there now.


October 25, 2005
Walter Bright wrote:
> "Vathix" <chris@dprogramming.com> wrote in message
> news:op.sy6bxz0dl2lsvj@esi...
> 
>>On http://www.digitalmars.com/d/declaration.html#AutoDeclaration that
>>anchor does not seem to exist and I can not find the word inference.
> 
> 
> I hadn't posted the updated doc yet. It's there now.

Cool, Implicit Type Inference!

However, I think that the problems with overloading the "auto" keyword to declare it are made obvious by the special case you had to define with classes.  That's sure to bite people with strange, subtle bugs. Plus, such special cases make templates harder to write.  Say you were defining a mixin where it would be useful to have both:

template Foo(alias func) {
  auto foo = func();  // drat, can't use both implicit types and auto
}

void main() {
  Foo(myFunc);
  ...stuff...
}
October 25, 2005
Russ Lewis wrote:
> 
> Cool, Implicit Type Inference!
> 

I agree.

> However, I think that the problems with overloading the "auto" keyword to declare it are made obvious by the special case you had to define with classes.  That's sure to bite people with strange, subtle bugs. Plus, such special cases make templates harder to write.  Say you were defining a mixin where it would be useful to have both:
> 
> template Foo(alias func) {
>   auto foo = func();  // drat, can't use both implicit types and auto
> }
> 
> void main() {
>   Foo(myFunc);
>   ...stuff...
> }

And i also agree. This way you cannot have auto objects with type inference and it is a problem. Couldn't another keywoard be added for type inference? Many have been suggested (autotype, var, ...).
October 25, 2005
Yay!

"extern(linkage) for nested functions now works."

Thanks, Walter!  I thought you had all but forgotten this one.

- John

"Walter Bright" <newshound@digitalmars.com> wrote in message news:djjpa0$1o9n$2@digitaldaemon.com...
>A couple of oft-requested features.
>
> http://www.digitalmars.com/d/changelog.html
>
>
> 


October 25, 2005
"Ivan Senji" <ivan.senji_REMOVE_@_THIS__gmail.com> wrote in message news:djlqvi$2tn$1@digitaldaemon.com...
> And i also agree. This way you cannot have auto objects with type inference and it is a problem. Couldn't another keywoard be added for type inference? Many have been suggested (autotype, var, ...).

I've tried to stay away from 'var', it reminds me of Pascal too much <g>.

Anyhow, I've thought about this problem a lot, and there is an answer for it that is simple and consistent. It's just a bit of work to implement :-(.


October 25, 2005
"John Reimer" <terminal.node@gmail.com> wrote in message news:djlrjv$3pl$1@digitaldaemon.com...
> Yay!
>
> "extern(linkage) for nested functions now works."
>
> Thanks, Walter!  I thought you had all but forgotten this one.

I just kept getting distracted onto other things. Sorry it took so long.


« First   ‹ Prev
1 2 3 4 5 6 7 8 9 10 11