bearophile Wrote:
> Steven Schveighoffer:
>
> > The only problem I see with it is the inline-killing.
>
> Please don't ignore the purity-killing :-)
void checkArgument(bool condition, const char[] msg = null, string file = __FILE__, int line = __LINE__) pure
{
if(!condition)throw new ArgumentException(msg,file,line);
}
will this work?