dmd 1.046 and 2.031 releases

Derek Parnell derek at psych.ward
Tue Jul 7 18:25:27 PDT 2009


On Tue, 07 Jul 2009 20:13:40 -0500, Andrei Alexandrescu wrote:

> Derek Parnell wrote:
>> Here is where I propose having a signal to the compiler about which
>> specific variables I'm worried about, and if I code an assignment to one of
>> these that can potentially overflow, then the compiler must issue a
>> message. 
> 
> You can implement that as a library. In fact I wanted to do it for 
> Phobos for a long time. 

What does "implement that as a library" actually mean?

Does it mean that a Phobos module could be written that defines a struct
template (presumably) that holds the data and implements opAssign, etc...
to issue a message if required. I assume it could do some limited
compile-time value tests so it doesn't always have to issue a message.

-- 
Derek Parnell
Melbourne, Australia
skype: derek.j.parnell


More information about the Digitalmars-d-announce mailing list