diff options
author | Dino Radakovic <dinor@google.com> | 2022-06-24 08:11:04 -0700 |
---|---|---|
committer | Copybara-Service <copybara-worker@google.com> | 2022-06-24 08:12:06 -0700 |
commit | c46096c507deae393c87fd52ef65715a8be26e1e (patch) | |
tree | 176d9de317bb09311eec959556f34c81189093b9 /absl/functional | |
parent | 388c2edaf12d1622d017f73bc1dc145328d07d73 (diff) |
AnyInvocable: Move credits to the top of the file
PiperOrigin-RevId: 457014105
Change-Id: I4ecd4185385a213838c6f3241b65536b1f833705
Diffstat (limited to 'absl/functional')
-rw-r--r-- | absl/functional/any_invocable.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/absl/functional/any_invocable.h b/absl/functional/any_invocable.h index 0c5faca0..040418d4 100644 --- a/absl/functional/any_invocable.h +++ b/absl/functional/any_invocable.h @@ -26,6 +26,9 @@ // NOTE: `absl::AnyInvocable` is similar to the C++23 `std::move_only_function` // abstraction, but has a slightly different API and is not designed to be a // drop-in replacement or C++11-compatible backfill of that type. +// +// Credits to Matt Calabrese (https://github.com/mattcalabrese) for the original +// implementation. #ifndef ABSL_FUNCTIONAL_ANY_INVOCABLE_H_ #define ABSL_FUNCTIONAL_ANY_INVOCABLE_H_ @@ -145,9 +148,6 @@ ABSL_NAMESPACE_BEGIN // // rvalue-reference qualified. // std::move(continuation)(result_of_foo); // } -// -// Credits to Matt Calabrese (https://github.com/mattcalabrese) for the original -// implementation. template <class Sig> class AnyInvocable : private internal_any_invocable::Impl<Sig> { private: |