This file is indexed.

/usr/include/cxxtools/callable.tpp is in libcxxtools-dev 2.0-4ubuntu2.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

  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
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
// BEGIN_Callable 10
    /**
      Callable represents a "callable" type, which is fundamentally
      similar to an Invokable but is semantically richer.
    */
    template <typename R, class A1 = Void, class A2 = Void, class A3 = Void, class A4 = Void, class A5 = Void, class A6 = Void, class A7 = Void, class A8 = Void, class A9 = Void, class A10 = Void>
    class Callable : public Invokable<A1,A2,A3,A4,A5,A6,A7,A8,A9,A10> {
		public:
            typedef R ReturnT;
            enum { NumArgs = 10 };

        public:
            /**
              Creates a copy of this object and returns it. Caller owns
              the returned object.
            */
            virtual Callable* clone() const = 0;

            /** Exact behaviour is defined by subclass implementations. */
            virtual ReturnT operator()(A1 a1, A2 a2, A3 a3, A4 a4, A5 a5, A6 a6, A7 a7, A8 a8, A9 a9, A10 a10) const = 0;

            /** Same as calling this->operator()(...). */
            ReturnT call(A1 a1, A2 a2, A3 a3, A4 a4, A5 a5, A6 a6, A7 a7, A8 a8, A9 a9, A10 a10) const
            { return this->operator()(a1,a2,a3,a4,a5,a6,a7,a8,a9,a10); }

            /** Same as calling this->operator()(...), except that the return value
            of that method is ignored. */
            void invoke(A1 a1, A2 a2, A3 a3, A4 a4, A5 a5, A6 a6, A7 a7, A8 a8, A9 a9, A10 a10) const
            { this->operator()(a1,a2,a3,a4,a5,a6,a7,a8,a9,a10); }
    };

// END_Callable 10
// BEGIN_Callable 9
    // specialization
    template <typename R,class A1, class A2, class A3, class A4, class A5, class A6, class A7, class A8, class A9>
    class Callable<R, A1,A2,A3,A4,A5,A6,A7,A8,A9,Void> : public Invokable<A1,A2,A3,A4,A5,A6,A7,A8,A9> {
		public:
            typedef R ReturnT;
            enum { NumArgs = 9 };

        public:
            /**
              Creates a copy of this object and returns it. Caller owns
              the returned object.
            */
            virtual Callable* clone() const = 0;

            /** Exact behaviour is defined by subclass implementations. */
            virtual ReturnT operator()(A1 a1, A2 a2, A3 a3, A4 a4, A5 a5, A6 a6, A7 a7, A8 a8, A9 a9) const = 0;

            /** Same as calling this->operator()(...). */
            ReturnT call(A1 a1, A2 a2, A3 a3, A4 a4, A5 a5, A6 a6, A7 a7, A8 a8, A9 a9) const
            { return this->operator()(a1,a2,a3,a4,a5,a6,a7,a8,a9); }

            /** Same as calling this->operator()(...), except that the return value
            of that method is ignored. */
            void invoke(A1 a1, A2 a2, A3 a3, A4 a4, A5 a5, A6 a6, A7 a7, A8 a8, A9 a9) const
            { this->operator()(a1,a2,a3,a4,a5,a6,a7,a8,a9); }
    };

// END_Callable 9
// BEGIN_Callable 8
    // specialization
    template <typename R,class A1, class A2, class A3, class A4, class A5, class A6, class A7, class A8>
    class Callable<R, A1,A2,A3,A4,A5,A6,A7,A8,Void,Void> : public Invokable<A1,A2,A3,A4,A5,A6,A7,A8> {
		public:
            typedef R ReturnT;
            enum { NumArgs = 8 };

        public:
            /**
              Creates a copy of this object and returns it. Caller owns
              the returned object.
            */
            virtual Callable* clone() const = 0;

            /** Exact behaviour is defined by subclass implementations. */
            virtual ReturnT operator()(A1 a1, A2 a2, A3 a3, A4 a4, A5 a5, A6 a6, A7 a7, A8 a8) const = 0;

            /** Same as calling this->operator()(...). */
            ReturnT call(A1 a1, A2 a2, A3 a3, A4 a4, A5 a5, A6 a6, A7 a7, A8 a8) const
            { return this->operator()(a1,a2,a3,a4,a5,a6,a7,a8); }

            /** Same as calling this->operator()(...), except that the return value
            of that method is ignored. */
            void invoke(A1 a1, A2 a2, A3 a3, A4 a4, A5 a5, A6 a6, A7 a7, A8 a8) const
            { this->operator()(a1,a2,a3,a4,a5,a6,a7,a8); }
    };

// END_Callable 8
// BEGIN_Callable 7
    // specialization
    template <typename R,class A1, class A2, class A3, class A4, class A5, class A6, class A7>
    class Callable<R, A1,A2,A3,A4,A5,A6,A7,Void,Void,Void> : public Invokable<A1,A2,A3,A4,A5,A6,A7> {
		public:
            typedef R ReturnT;
            enum { NumArgs = 7 };

        public:
            /**
              Creates a copy of this object and returns it. Caller owns
              the returned object.
            */
            virtual Callable* clone() const = 0;

            /** Exact behaviour is defined by subclass implementations. */
            virtual ReturnT operator()(A1 a1, A2 a2, A3 a3, A4 a4, A5 a5, A6 a6, A7 a7) const = 0;

            /** Same as calling this->operator()(...). */
            ReturnT call(A1 a1, A2 a2, A3 a3, A4 a4, A5 a5, A6 a6, A7 a7) const
            { return this->operator()(a1,a2,a3,a4,a5,a6,a7); }

            /** Same as calling this->operator()(...), except that the return value
            of that method is ignored. */
            void invoke(A1 a1, A2 a2, A3 a3, A4 a4, A5 a5, A6 a6, A7 a7) const
            { this->operator()(a1,a2,a3,a4,a5,a6,a7); }
    };

// END_Callable 7
// BEGIN_Callable 6
    // specialization
    template <typename R,class A1, class A2, class A3, class A4, class A5, class A6>
    class Callable<R, A1,A2,A3,A4,A5,A6,Void,Void,Void,Void> : public Invokable<A1,A2,A3,A4,A5,A6> {
		public:
            typedef R ReturnT;
            enum { NumArgs = 6 };

        public:
            /**
              Creates a copy of this object and returns it. Caller owns
              the returned object.
            */
            virtual Callable* clone() const = 0;

            /** Exact behaviour is defined by subclass implementations. */
            virtual ReturnT operator()(A1 a1, A2 a2, A3 a3, A4 a4, A5 a5, A6 a6) const = 0;

            /** Same as calling this->operator()(...). */
            ReturnT call(A1 a1, A2 a2, A3 a3, A4 a4, A5 a5, A6 a6) const
            { return this->operator()(a1,a2,a3,a4,a5,a6); }

            /** Same as calling this->operator()(...), except that the return value
            of that method is ignored. */
            void invoke(A1 a1, A2 a2, A3 a3, A4 a4, A5 a5, A6 a6) const
            { this->operator()(a1,a2,a3,a4,a5,a6); }
    };

// END_Callable 6
// BEGIN_Callable 5
    // specialization
    template <typename R,class A1, class A2, class A3, class A4, class A5>
    class Callable<R, A1,A2,A3,A4,A5,Void,Void,Void,Void,Void> : public Invokable<A1,A2,A3,A4,A5> {
		public:
            typedef R ReturnT;
            enum { NumArgs = 5 };

        public:
            /**
              Creates a copy of this object and returns it. Caller owns
              the returned object.
            */
            virtual Callable* clone() const = 0;

            /** Exact behaviour is defined by subclass implementations. */
            virtual ReturnT operator()(A1 a1, A2 a2, A3 a3, A4 a4, A5 a5) const = 0;

            /** Same as calling this->operator()(...). */
            ReturnT call(A1 a1, A2 a2, A3 a3, A4 a4, A5 a5) const
            { return this->operator()(a1,a2,a3,a4,a5); }

            /** Same as calling this->operator()(...), except that the return value
            of that method is ignored. */
            void invoke(A1 a1, A2 a2, A3 a3, A4 a4, A5 a5) const
            { this->operator()(a1,a2,a3,a4,a5); }
    };

// END_Callable 5
// BEGIN_Callable 4
    // specialization
    template <typename R,class A1, class A2, class A3, class A4>
    class Callable<R, A1,A2,A3,A4,Void,Void,Void,Void,Void,Void> : public Invokable<A1,A2,A3,A4> {
		public:
            typedef R ReturnT;
            enum { NumArgs = 4 };

        public:
            /**
              Creates a copy of this object and returns it. Caller owns
              the returned object.
            */
            virtual Callable* clone() const = 0;

            /** Exact behaviour is defined by subclass implementations. */
            virtual ReturnT operator()(A1 a1, A2 a2, A3 a3, A4 a4) const = 0;

            /** Same as calling this->operator()(...). */
            ReturnT call(A1 a1, A2 a2, A3 a3, A4 a4) const
            { return this->operator()(a1,a2,a3,a4); }

            /** Same as calling this->operator()(...), except that the return value
            of that method is ignored. */
            void invoke(A1 a1, A2 a2, A3 a3, A4 a4) const
            { this->operator()(a1,a2,a3,a4); }
    };

// END_Callable 4
// BEGIN_Callable 3
    // specialization
    template <typename R,class A1, class A2, class A3>
    class Callable<R, A1,A2,A3,Void,Void,Void,Void,Void,Void,Void> : public Invokable<A1,A2,A3> {
		public:
            typedef R ReturnT;
            enum { NumArgs = 3 };

        public:
            /**
              Creates a copy of this object and returns it. Caller owns
              the returned object.
            */
            virtual Callable* clone() const = 0;

            /** Exact behaviour is defined by subclass implementations. */
            virtual ReturnT operator()(A1 a1, A2 a2, A3 a3) const = 0;

            /** Same as calling this->operator()(...). */
            ReturnT call(A1 a1, A2 a2, A3 a3) const
            { return this->operator()(a1,a2,a3); }

            /** Same as calling this->operator()(...), except that the return value
            of that method is ignored. */
            void invoke(A1 a1, A2 a2, A3 a3) const
            { this->operator()(a1,a2,a3); }
    };

// END_Callable 3
// BEGIN_Callable 2
    // specialization
    template <typename R,class A1, class A2>
    class Callable<R, A1,A2,Void,Void,Void,Void,Void,Void,Void,Void> : public Invokable<A1,A2> {
		public:
            typedef R ReturnT;
            enum { NumArgs = 2 };

        public:
            /**
              Creates a copy of this object and returns it. Caller owns
              the returned object.
            */
            virtual Callable* clone() const = 0;

            /** Exact behaviour is defined by subclass implementations. */
            virtual ReturnT operator()(A1 a1, A2 a2) const = 0;

            /** Same as calling this->operator()(...). */
            ReturnT call(A1 a1, A2 a2) const
            { return this->operator()(a1,a2); }

            /** Same as calling this->operator()(...), except that the return value
            of that method is ignored. */
            void invoke(A1 a1, A2 a2) const
            { this->operator()(a1,a2); }
    };

// END_Callable 2
// BEGIN_Callable 1
    // specialization
    template <typename R,class A1>
    class Callable<R, A1,Void,Void,Void,Void,Void,Void,Void,Void,Void> : public Invokable<A1> {
		public:
            typedef R ReturnT;
            enum { NumArgs = 1 };

        public:
            /**
              Creates a copy of this object and returns it. Caller owns
              the returned object.
            */
            virtual Callable* clone() const = 0;

            /** Exact behaviour is defined by subclass implementations. */
            virtual ReturnT operator()(A1 a1) const = 0;

            /** Same as calling this->operator()(...). */
            ReturnT call(A1 a1) const
            { return this->operator()(a1); }

            /** Same as calling this->operator()(...), except that the return value
            of that method is ignored. */
            void invoke(A1 a1) const
            { this->operator()(a1); }
    };

// END_Callable 1
// BEGIN_Callable 0
    // specialization
    template <typename R>
    class Callable<R, Void,Void,Void,Void,Void,Void,Void,Void,Void,Void> : public Invokable<> {
		public:
            typedef R ReturnT;
            enum { NumArgs = 0 };

        public:
            /**
              Creates a copy of this object and returns it. Caller owns
              the returned object.
            */
            virtual Callable* clone() const = 0;

            /** Exact behaviour is defined by subclass implementations. */
            virtual ReturnT operator()() const = 0;

            /** Same as calling this->operator()(...). */
            ReturnT call() const
            { return this->operator()(); }

            /** Same as calling this->operator()(...), except that the return value
            of that method is ignored. */
            void invoke() const
            { this->operator()(); }
    };

// END_Callable 0