assert() vs. enforce(), invariant() vs. ... ?

Joseph Rushton Wakeling joseph.wakeling at webdrake.net
Fri Aug 30 08:50:27 PDT 2013


On 30/08/13 17:41, Namespace wrote:
> I don't understand the difference to alias myInt = int;
> Isn't it the same?

alias means it's a different name for the same type -- typedef should mean it's 
a different type with the same properties.



More information about the Digitalmars-d mailing list