OLD | NEW |
1 $$ This is a pump file for generating file templates. Pump is a python | 1 $$ This is a pump file for generating file templates. Pump is a python |
2 $$ script that is part of the Google Test suite of utilities. Description | 2 $$ script that is part of the Google Test suite of utilities. Description |
3 $$ can be found here: | 3 $$ can be found here: |
4 $$ | 4 $$ |
5 $$ http://code.google.com/p/googletest/wiki/PumpManual | 5 $$ http://code.google.com/p/googletest/wiki/PumpManual |
6 $$ | 6 $$ |
7 | 7 |
8 $var MAX_ARITY = 6 | 8 $var MAX_ARITY = 6 |
9 | 9 |
10 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 10 // Copyright (c) 2011 The Chromium Authors. All rights reserved. |
11 // Use of this source code is governed by a BSD-style license that can be | 11 // Use of this source code is governed by a BSD-style license that can be |
12 // found in the LICENSE file. | 12 // found in the LICENSE file. |
13 | 13 |
14 #ifndef BASE_BIND_INTERNAL_H_ | 14 #ifndef BASE_BIND_INTERNAL_H_ |
15 #define BASE_BIND_INTERNAL_H_ | 15 #define BASE_BIND_INTERNAL_H_ |
16 #pragma once | 16 #pragma once |
17 | 17 |
18 #include "base/bind_helpers.h" | 18 #include "base/bind_helpers.h" |
19 #include "base/callback_helpers.h" | 19 #include "base/callback_internal.h" |
20 #include "base/template_util.h" | 20 #include "base/template_util.h" |
21 | 21 |
22 namespace base { | 22 namespace base { |
23 namespace internal { | 23 namespace internal { |
24 | 24 |
25 // The method by which a function is invoked is determined by 3 different | 25 // The method by which a function is invoked is determined by 3 different |
26 // dimensions: | 26 // dimensions: |
27 // | 27 // |
28 // 1) The type of function (normal, method, const-method) | 28 // 1) The type of function (normal, method, const-method) |
29 // 2) The arity of the function | 29 // 2) The arity of the function |
(...skipping 198 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
228 | 228 |
229 ]] | 229 ]] |
230 }; | 230 }; |
231 | 231 |
232 ]] $$ for BOUND | 232 ]] $$ for BOUND |
233 | 233 |
234 } // namespace internal | 234 } // namespace internal |
235 } // namespace base | 235 } // namespace base |
236 | 236 |
237 #endif // BASE_BIND_INTERNAL_H_ | 237 #endif // BASE_BIND_INTERNAL_H_ |
OLD | NEW |