Use templetized operations for Square
authorMarco Costalba <mcostalba@gmail.com>
Wed, 18 Aug 2010 15:40:26 +0000 (16:40 +0100)
committerMarco Costalba <mcostalba@gmail.com>
Thu, 19 Aug 2010 12:48:33 +0000 (13:48 +0100)
commit8e31764c49149cd73cdbfd8a251bb31f068bf799
tree4d7cba224b9f51ae135af417ec0f271ba90f2587
parent4ce08482c3b0685691162bfc9115ccc7656674b4
Use templetized operations for Square

This is tricky because there are some special
binary fnctions with SquareDelta that we should
leave as they are.

Also note that we needed to add Unary minus template
to fix a comile error in SERIALIZE_MOVES_D macro that was
triggered because now we don't allow conversion to int.

No fuctional change.

Signed-off-by: Marco Costalba <mcostalba@gmail.com>
src/square.h
src/types.h