MEL
Microthread & Execution library
binary.h
1
#pragma once
2
3
namespace
mel
4
{
5
namespace
mpl
6
{
7
template
<
unsigned
long
number>
8
struct
binary
9
{
10
static
unsigned
const
value
11
=
binary
<number/10>::value << 1
12
| number%10;
13
};
14
15
template
<>
16
struct
binary
<0>
17
{
18
static
unsigned
const
value = 0;
19
};
20
21
}
22
}
mel
Definition:
Callback_Impl.h:11
mel::mpl::binary
Definition:
binary.h:9
include
mpl
binary.h
Generated by
1.9.1