Main Page
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
include
osl
misc
loki.h
Go to the documentation of this file.
1
#ifndef OSL_LOKI_H
2
#define OSL_LOKI_H
3
4
#include "
osl/player.h
"
5
6
namespace
osl
7
{
8
namespace
misc
9
{
10
// Int2Type by LOKI
11
template
<
int
v>
12
struct
Int2Type
{
13
enum
{
value
=v };
14
};
15
16
template
<
typename
T>
17
struct
Type2Type
{
18
};
19
20
template
<Player P>
21
struct
Player2Type
{
22
enum
{
value
=P };
23
};
24
25
struct
EmptyType
{};
26
}
// namespace misc
27
using
misc::Int2Type
;
28
using
misc::Player2Type
;
29
}
// namespace osl
30
#endif
31
// ;;; Local Variables:
32
// ;;; mode:c++
33
// ;;; c-basic-offset:2
34
// ;;; End:
35
Generated on Sun Jul 21 2013 13:37:24 by
1.8.4