File: test_pattern_parser.hpp

package info (click to toggle)
pygccxml 3.0.2-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 8,444 kB
  • sloc: xml: 29,841; python: 13,914; cpp: 2,671; makefile: 163; ansic: 59
file content (39 lines) | stat: -rw-r--r-- 1,210 bytes parent folder | download | duplicates (4)
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
// Copyright 2014-2017 Insight Software Consortium.
// Copyright 2004-2009 Roman Yakovenko.
// Distributed under the Boost Software License, Version 1.0.
// See http://www.boost.org/LICENSE_1_0.txt

#include <string>
#include <vector>
using namespace std;

template<typename T>
class myClass {};

template<typename T, typename R>
class myClass2 {};

template<typename T, typename R, typename X>
class myClass3 {};

int main () {
  myClass<std::vector<char>(const std::string &, const std::string &)> m1;

  myClass<std::vector<int>(const int &, const int &)> m2;

  myClass2<std::vector<int>(const int &, const int &), std::vector<double>> m3;

  myClass2<std::vector<double>, std::vector<int>(const int &, const int &)> m4;

  myClass3<std::vector<double>, std::vector<int>(const int &, const int &), std::vector<int>(const int &, const int &)> m5;

  myClass3<std::vector<int>(const int &, const int &), std::vector<double>, std::vector<int>(const int &, const int &)> m6;

  myClass3<std::vector<int>(const int &, const int &), std::vector<int>(const int &, const int &), std::vector<double>> m7;

  myClass3<int, std::vector<int>(const int &, const int &), std::vector<int>(double &)> m8;

  return 0;
}