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 // TODO(ajwong): If you create an fully unbound method, is there a way to | 8 $$ See comment for MAX_ARITY in base/bind.h.pump. |
9 // enforce the first argument must be refcounted? Or do we just say | 9 $var MAX_ARITY = 7 |
10 // "oh well"? | |
11 // | |
12 // Do we want to allow creating a fully unbound method?? | |
13 | |
14 $var MAX_ARITY = 6 | |
15 $range ARITY 0..MAX_ARITY | 10 $range ARITY 0..MAX_ARITY |
16 | 11 |
17 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 12 // Copyright (c) 2011 The Chromium Authors. All rights reserved. |
18 // Use of this source code is governed by a BSD-style license that can be | 13 // Use of this source code is governed by a BSD-style license that can be |
19 // found in the LICENSE file. | 14 // found in the LICENSE file. |
20 | 15 |
21 #ifndef BASE_BIND_INTERNAL_H_ | 16 #ifndef BASE_BIND_INTERNAL_H_ |
22 #define BASE_BIND_INTERNAL_H_ | 17 #define BASE_BIND_INTERNAL_H_ |
23 #pragma once | 18 #pragma once |
24 | 19 |
(...skipping 466 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
491 | 486 |
492 ]] | 487 ]] |
493 }; | 488 }; |
494 | 489 |
495 ]] $$ for ARITY | 490 ]] $$ for ARITY |
496 | 491 |
497 } // namespace internal | 492 } // namespace internal |
498 } // namespace base | 493 } // namespace base |
499 | 494 |
500 #endif // BASE_BIND_INTERNAL_H_ | 495 #endif // BASE_BIND_INTERNAL_H_ |
OLD | NEW |