Introduced the NoPool placeholder class.
commit7fd70d1652cd0c7966536a859a2cc1481d504d34
authorPaolo Capriotti <p.capriotti@gmail.com>
Sat, 14 Jul 2007 15:56:22 +0000 (14 17:56 +0200)
committerPaolo Capriotti <p.capriotti@gmail.com>
Sat, 14 Jul 2007 15:56:22 +0000 (14 17:56 +0200)
tree5ebfcac572a49a14d2d3eeb43ef9504045d88680
parente81caf9f98ccdbcc5bc42300a468a2af80153523
Introduced the NoPool placeholder class.

When a template-wrapped variant does not have pools, it should typedef its Pool
inner type as NoPool. This way the template wrapper knows that no pool is
defined for that variant, and returns a dummy object in AbstractPosition::pool.
src/CMakeLists.txt
src/kboard.h
src/kboard_wrapped.h
src/nopool.h [new file with mode: 0644]
src/variants/chess.h
src/variants/variants-autogen
src/variants/variants.cpp
src/variants/xchess/pool.h [new file with mode: 0644]
src/variants/xchess/position.h