View mode: basic / threaded / horizontal-split · Log in · Help
March 07, 2006
DMD 0.149 release
Changed on_scope keywords per the general consensus of the n.g.

The implicit function template instantiation is a bit limited at the moment, 
deduction won't work for types derived from templates, and the mechanism to 
pick the most specialized template doesn't work.

http://www.digitalmars.com/d/changelog.html
March 07, 2006
Re: DMD 0.149 release
Walter Bright wrote:
> Changed on_scope keywords per the general consensus of the n.g.
> 
> The implicit function template instantiation is a bit limited at the
> moment, deduction won't work for types derived from templates, and
> the mechanism to pick the most specialized template doesn't work.

Aahh, being modest.....

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

I'd sure hate to be married with you!!!! :-)

Just impressive!

---

BTW, what does "Implicit casts of non-bool to bool disallowed" mean?
March 07, 2006
Re: DMD 0.149 release
On Tue, 7 Mar 2006 15:02:41 -0800, Walter Bright wrote:

> Changed on_scope keywords per the general consensus of the n.g.
> 
> The implicit function template instantiation is a bit limited at the moment, 
> deduction won't work for types derived from templates, and the mechanism to 
> pick the most specialized template doesn't work.
> 
> http://www.digitalmars.com/d/changelog.html

Bloody marvelous! ... getting better and better every day.

Thanks for all the hard work and great results. 

I'm sorry to heap so much shit on you from time to time <G>

-- 
Derek
(skype: derek.j.parnell)
Melbourne, Australia
"Down with mediocracy!"
8/03/2006 10:13:42 AM
March 07, 2006
Re: DMD 0.149 release
"Georg Wrede" <georg.wrede@nospam.org> wrote in message 
news:440E1336.3050608@nospam.org...
> BTW, what does "Implicit casts of non-bool to bool disallowed" mean?

It means you can no longer write

bool x = 5;
March 07, 2006
Re: DMD 0.149 release
"Walter Bright" <newshound@digitalmars.com> wrote in message 
news:dul3ku$2sv2$1@digitaldaemon.com...
> Changed on_scope keywords per the general consensus of the n.g.
>
> The implicit function template instantiation is a bit limited at the 
> moment, deduction won't work for types derived from templates, and the 
> mechanism to pick the most specialized template doesn't work.
>
> http://www.digitalmars.com/d/changelog.html

Oh, and opSliceAssign, and the if(type variable = expr) too?  Just too good.
March 07, 2006
Re: DMD 0.149 release
Walter, you re the man !


-- 
-----BEGIN GEEK CODE BLOCK-----
Version: 3.1
GCS/M d-pu s+: a-->----- C+++$>++++ UL P+ L+ E--- W++ N++ o? K? w++ !O 
!M V? PS- PE- Y PGP t 5 X? R tv-- b DI- D+ G e>+++ h>++ !r !y
------END GEEK CODE BLOCK------

Tomasz Stachowiak  /+ a.k.a. h3r3tic +/
March 07, 2006
Re: DMD 0.149 release
Walter Bright wrote:
> Changed on_scope keywords per the general consensus of the n.g.
> 
> The implicit function template instantiation is a bit limited at the moment, 
> deduction won't work for types derived from templates, and the mechanism to 
> pick the most specialized template doesn't work.
> 
> http://www.digitalmars.com/d/changelog.html
> 
> 
> 

I could kiss you. 0.150 == 1.0 ? <g>
March 07, 2006
Re: DMD 0.149 release
Walter Bright wrote:
> Changed on_scope keywords per the general consensus of the n.g.
> 
> The implicit function template instantiation is a bit limited at the moment, 
> deduction won't work for types derived from templates, and the mechanism to 
> pick the most specialized template doesn't work.

Could you clarify this:

"& | ^ &= |= ^= ! && || ?: are now only operators allowed on bools"

Did you mean "are now _the_ only operators allowed on bools?"  I can't 
imagine that bitwise operations would be disallowed on integers.

As for ITI... I've already got some overloaded functions written that 
haven been waiting on this, so I'll let you know how it goes.


Sean
March 07, 2006
Re: DMD 0.149 release
"Sean Kelly" <sean@f4.ca> wrote in message 
news:dul5n8$2us7$1@digitaldaemon.com...
> Did you mean "are now _the_ only operators allowed on bools?"

Yes.  Walter isn't _that_ big of a doof :)
March 07, 2006
Re: DMD 0.149 release
"Jarrett Billingsley" <kb3ctd2@yahoo.com> wrote in message 
news:dul5sr$2vee$1@digitaldaemon.com...
> "Sean Kelly" <sean@f4.ca> wrote in message 
> news:dul5n8$2us7$1@digitaldaemon.com...
>> Did you mean "are now _the_ only operators allowed on bools?"
>
> Yes.  Walter isn't _that_ big of a doof :)

Although a quick test:

bool x = true;
int y = x * 5;
bool z = true / false;

Hmm..
« First   ‹ Prev
1 2 3 4 5
Top | Discussion index | About this forum | D home