Midge
v3.9.2
Data Processing Framework
test
test_typereplace.cc
Go to the documentation of this file.
1
/*
2
* test_typereplace.cc
3
*
4
* Created on: Dec 15, 2018
5
* Author: N.S. Oblath
6
*/
7
8
#include "
typereplace.hh
"
9
#include "
typelist.hh
"
10
11
#include <iostream>
12
13
using namespace
midge
;
14
15
using
std::cout;
16
using
std::endl;
17
18
int
main
()
19
{
20
21
static_assert(
22
std::is_same<
23
type_replace
<
type_list<int, char, int, float, int>
,
int
,
float
>,
24
type_list<float, char, float, float, float>
25
>::value,
"Oops"
26
);
27
28
return
0;
29
30
}
31
32
33
midge
Definition:
_buffer.hh:11
main
int main()
Definition:
test_typereplace.cc:18
midge::type_list
Type list.
Definition:
typelist.hh:7
midge::type_replace
typename type_replace_imp< x_list, x_find, x_replace >::type type_replace
Definition:
typereplace.hh:32
typereplace.hh
typelist.hh
Generated by
1.8.13