
4 Feb
2007
4 Feb
'07
6:06 p.m.
On 2/3/07, Sohail Somani <s.somani@fincad.com> wrote:
I'm not sure I see the value in that vs:
BOOST_REQUIRE_IS_DIVISIBLE_BY(result,3)
I must be missing something
The question with the above interface is that "which one are you requiring to be divisible by what?" which is not always obvious. Saying that "this value should be divisible by three" is translated (almost) directly as value(result).should.be_divisible_by(3); At least that's how I see it. HTH! -- Dean Michael C. Berris http://cplusplus-soup.blogspot.com/ mikhailberis AT gmail DOT com +63 928 7291459