sslot version 0.2

Lutger lutger.blijdestijn at gmail.com
Sun Nov 19 05:23:17 PST 2006


Don Clugston wrote:
> Lutger wrote:
>> I've uploaded a new version using the features of D since 0.173. 
>> Perhaps it is useful to those who want return values and other 
>> callable types than delegates from objects in their signals:
>>
>> http://lutger.ifastnet.com
>>
>> Some changes:
> 
> 
>> - Better compiler time error messages. I've included Don Clugston's 
>> meta.nameof for this, I'm sure it has an open source license but I 
>> couldn't find exactly which one.
> 
> BSD. I'm working on an update which will cope with all situations (the 
> one in DDL/meta doesn't work with local variables (it wasn't possible 
> prior to 0.172), and fails in some (relatively obscure) circumstances).

Good to hear. I'm sure there are much more impressive things that can be 
done with it, but being able to give such exact compiler messages is 
pretty darn useful I've found.

It must be in the top 3 complaints from people learning STL that the 
compiler error messages are so cryptic. By using D templates with 
meta.nameof it might be possible to make templated code even easier to 
'debug' than non-templated code. I think this can be a huge time-saver.



More information about the Digitalmars-d-announce mailing list