liberty8.cc Source File

- Main Page
- Namespaces
- Classes
- Files

- File List
- File Members

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