File: liberty8.cc

package info (click to toggle)
libosl 0.6.0-3.1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 148,792 kB
  • ctags: 151,985
  • sloc: cpp: 131,133; ansic: 7,228; ruby: 1,290; makefile: 569; perl: 309; sh: 35
file content (26 lines) | stat: -rw-r--r-- 701 bytes parent folder | download | duplicates (3)
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: