enforce()?
Bruno Medeiros
brunodomedeiros+spam at com.gmail
Thu Jun 17 04:23:11 PDT 2010
On 16/06/2010 15:45, Andrei Alexandrescu wrote:
>
> Well throwif describes mechanism and enforce describes intent. After all
> assert is not abortif :o).
>
> Andrei
Indeed, especially given that other code program may use throwing as
mechanism, but with a different intent. And you would not be able to
distinguish it if you called it throwif.
--
Bruno Medeiros - Software Engineer
More information about the Digitalmars-d
mailing list