summaryrefslogtreecommitdiffstats
path: root/src/qdoc/qdoc/tests/validateqdocoutputfiles/testdata/templatedcallables/src/templated_callables.cpp
blob: 9e91242e38364d699a4cbba3a7837b80676f175e (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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
// Copyright (C) 2023 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only
#pragma once

#include "templated_callables.h"

/*!
 * \headerfile <templated_callables.h>
 * \inmodule TestQDoc
 *
 * Containing headers for the tested free functions.
 */

/*!
 * \class TemplatedClass
 * \inmodule TestQDoc
 *
 * Containing record for the tested methods.
 */

/*!
 * \fn template<typename T> template <typename U> void TemplatedClass<T>::templated_method_with_type_template_parameter(U)
 *
 *  A templated method under a templated class with a non-defaulted type template parameter.
 */

/*!
 * \fn template<typename T> void templated_function_with_type_template_parameter(T)
 * \relates <templated_callables.h>
 *
 *  A templated function with a non-defaulted type template parameter.
 */

/*!
 * \fn template<typename T> template <typename U> void TemplatedClass<T>::templated_method_with_defaulted_type_template_parameter(U)
 *
 *  A templated method under a templated class with a defaulted type template parameter.
 */

/*!
 * \fn template<typename T> void templated_function_with_defaulted_type_template_parameter(T)
 * \relates <templated_callables.h>
 *
 *  A templated function with a defaulted type template parameter.
 */

/*!
 * \fn template<typename T> template <typename... Ts> void TemplatedClass<T>::templated_method_with_type_template_parameter_pack(Ts...)
 *
 *  A templated method under a templated class with a type template parameter pack.
 */

/*!
 * \fn template<typename... Ts> void templated_function_with_type_template_parameter_pack(Ts...)
 * \relates <templated_callables.h>
 *
 *  A templated function with a type template parameter pack.
 */

/*!
 * \fn template<typename T> template <int Size> void TemplatedClass<T>::templated_method_with_non_type_template_parameter()
 *
 *  A templated method under a templated class with a non-defaulted non type template parameter.
 */

/*!
 * \fn template<char Category> void templated_function_with_non_type_template_parameter()
 * \relates <templated_callables.h>
 *
 *  A templated function with a non-defaulted non type template parameter.
 */

/*!
 * \fn template<typename T> template <int Size = 10> void TemplatedClass<T>::templated_method_with_defaulted_non_type_template_parameter()
 *
 *  A templated method under a templated class with a defaulted non type template parameter.
 */

/*!
 * \fn template<char Category = 'A'> void templated_function_with_defaulted_non_type_template_parameter()
 * \relates <templated_callables.h>
 *
 *  A templated function with a defaulted non type template parameter.
 */

/*!
 * \fn template<typename T> template <int... Dimensions> void TemplatedClass<T>::templated_method_with_non_type_template_parameter_pack()
 *
 *  A templated method under a templated class with a non type template parameter pack.
 */

/*!
 * \fn template<unsigned... Weights> void templated_function_with_non_type_template_parameter_pack()
 * \relates <templated_callables.h>
 *
 *  A templated function with a non type template parameter pack.
 */

/*!
 * \fn template<typename T> template <auto Predicate> void TemplatedClass<T>::templated_method_with_placeholder_non_type_template_parameter()
 *
 *  A templated method under a templated class with a placeholder non type template parameter.
 */

/*!
 * \fn template<auto Iterator> void templated_function_with_placeholder_non_type_template_parameter()
 * \relates <templated_callables.h>
 *
 *  A templated function with a placeholder non type template parameter.
 */

/*!
 * \fn template<typename T> template <typename U, template <typename> typename X> void TemplatedClass<T>::templated_method_with_template_template_parameter(X<U>)
 *
 *  A templated method under a templated class with a non-defaulted template template parameter.
 */

/*!
 * \fn template <typename T, template <typename> typename K> void templated_function_with_template_template_parameter(K<T>)
 * \relates <templated_callables.h>
 *
 *  A templated function with a non-defaulted template template parameter.
 */

/*!
 * \fn template<typename T> template <typename U, int size, template <typename, int> typename Container = std::array> void TemplatedClass<T>::templated_method_with_defaulted_template_template_parameter(Container<U, size>)
 *
 *  A templated method under a templated class with a defaulted template template parameter.
 */

/*!
 * \fn template <typename T, int size, template <typename, int> typename Container = std::array> void templated_function_with_defaulted_template_template_parameter(Container<T, size>)
 * \relates <templated_callables.h>
 *
 *  A templated function with a defaulted template template parameter.
 */

/*!
 * \fn template<typename T> template <typename U, template <typename> typename... Container> void TemplatedClass<T>::templated_method_with_template_template_parameter_pack(Container<U>...)
 *
 *  A templated method under a templated class with a template template parameter pack.
 */

/*!
 * \fn template <typename T, template <typename> typename... Container> void templated_function_with_template_template_parameter_pack(Container<T>...)
 * \relates <templated_callables.h>
 *
 *  A templated function with a template template parameter pack.
 */