enforce()?

Michel Fortin michel.fortin at michelf.com
Wed Jun 16 17:46:45 PDT 2010


On 2010-06-16 20:45:47 -0400, Michel Fortin <michel.fortin at michelf.com> said:

> Ok, so you're using "pointsTo" to check this in a contract? But isn't 
> that just a utility function which can be used for contracts as much as 
> for everything else? Does it really belong in std.contracts because at 
> some place you use it in a contract? I don't think so. But that's 
> something for you to decide. And unfortunately I'm not sure where you 
> put it.

Should have concluded by: "I'm not sure where you *should* put it either."

-- 
Michel Fortin
michel.fortin at michelf.com
http://michelf.com/



More information about the Digitalmars-d mailing list