Commit c46096c5 by Dino Radakovic Committed by Copybara-Service

AnyInvocable: Move credits to the top of the file

PiperOrigin-RevId: 457014105
Change-Id: I4ecd4185385a213838c6f3241b65536b1f833705
parent 388c2eda
...@@ -26,6 +26,9 @@ ...@@ -26,6 +26,9 @@
// NOTE: `absl::AnyInvocable` is similar to the C++23 `std::move_only_function` // 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 // 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. // 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_ #ifndef ABSL_FUNCTIONAL_ANY_INVOCABLE_H_
#define ABSL_FUNCTIONAL_ANY_INVOCABLE_H_ #define ABSL_FUNCTIONAL_ANY_INVOCABLE_H_
...@@ -145,9 +148,6 @@ ABSL_NAMESPACE_BEGIN ...@@ -145,9 +148,6 @@ ABSL_NAMESPACE_BEGIN
// // rvalue-reference qualified. // // rvalue-reference qualified.
// std::move(continuation)(result_of_foo); // std::move(continuation)(result_of_foo);
// } // }
//
// Credits to Matt Calabrese (https://github.com/mattcalabrese) for the original
// implementation.
template <class Sig> template <class Sig>
class AnyInvocable : private internal_any_invocable::Impl<Sig> { class AnyInvocable : private internal_any_invocable::Impl<Sig> {
private: private:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment