[KinoSearch] [kinosearch-commits] r3978 - in trunk/c_src/KinoSearch: . Index Search Util

Nathan Kurz nate at verse.com
Mon Dec 22 23:25:21 PST 2008


On Mon, Dec 22, 2008 at 4:41 PM,  <marvin at rectangular.com> wrote:
> Deploy ASSERT_IS_A.  Change it to return the object so that it can be used for
> initializations.

ASSERT_IS_A seems great, but I'm very uneasy about giving it a return
value.  Might there be some other syntax, or some other word than
ASSERT?  Or maybe just do the macro with a comma operator?  I'm not
sure why having a return value for an assert() is wrong, but it smells
a little bit.

--nate




More information about the kinosearch mailing list