1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26
|
/* liberty8.cc
*/
#include "osl/effect/liberty8.h"
#include "osl/state/simpleState.h"
#include <iomanip>
namespace osl
{
namespace effect
{
template<Player P>
std::ostream& operator<<(std::ostream& os,Liberty8<P> const& liberty){
return os << "0x" << std::setbase(16) << liberty.getMask().uintValue()
<< std::setbase(10);
}
template std::ostream& operator<<(std::ostream& os,Liberty8<BLACK> const& liberty);
template std::ostream& operator<<(std::ostream& os,Liberty8<WHITE> const& liberty);
template class Liberty8<BLACK>;
template class Liberty8<WHITE>;
} // namespace effect
} // namespace osl
// ;;; Local Variables:
// ;;; mode:c++
// ;;; c-basic-offset:2
// ;;; End:
|