blob: 1f38d83d61175bdd490bd519dd4ff99be28981dc (
plain)
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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
#include <iostream>
#include <vector>
namespace How {
namespace Deep {
namespace The {
template <typename t0, typename t1>
class Rabbit {
public:
template<typename st0, typename st1, typename st2>
static t1 HoleIs(std::vector<bool> a)
{
return 0;
}
};
}
}
}
int main()
{
How::Deep::The::Rabbit<char [2], double *> r;
typedef int (* func) (double);
std::vector<bool> array(10);
std::cout << "Hello" << std::endl;
std::cout << r.HoleIs<int, func, double>(array) << std::endl;
}
|