diff options
author | Copybara-Service <copybara-worker@google.com> | 2023-04-25 13:58:06 -0700 |
---|---|---|
committer | Copybara-Service <copybara-worker@google.com> | 2023-04-25 13:58:06 -0700 |
commit | 8518869eb9a8ef098a9dd7780b9e55d5b43b5873 (patch) | |
tree | d102fdc769f74ec29208285ab3f509230eaa50e4 /absl/functional/function_ref.h | |
parent | 4ffaea74c1f5408e0757547a1ca0518ad43fa9f1 (diff) | |
parent | 421a74dce4c6f768bfcca94ba62b65ded1d50f7c (diff) | |
download | abseil-8518869eb9a8ef098a9dd7780b9e55d5b43b5873.tar.gz abseil-8518869eb9a8ef098a9dd7780b9e55d5b43b5873.tar.bz2 abseil-8518869eb9a8ef098a9dd7780b9e55d5b43b5873.zip |
Merge pull request #1434 from Vertexwahn:fix-spelling
PiperOrigin-RevId: 527066823
Change-Id: Ifa1e9a43c7490b34f9f4dbfa12d3acbed6b49777
Diffstat (limited to 'absl/functional/function_ref.h')
-rw-r--r-- | absl/functional/function_ref.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/absl/functional/function_ref.h b/absl/functional/function_ref.h index f9779607..2b9139d3 100644 --- a/absl/functional/function_ref.h +++ b/absl/functional/function_ref.h @@ -66,11 +66,11 @@ class FunctionRef; // FunctionRef // -// An `absl::FunctionRef` is a lightweight wrapper to any invokable object with +// An `absl::FunctionRef` is a lightweight wrapper to any invocable object with // a compatible signature. Generally, an `absl::FunctionRef` should only be used // as an argument type and should be preferred as an argument over a const // reference to a `std::function`. `absl::FunctionRef` itself does not allocate, -// although the wrapped invokable may. +// although the wrapped invocable may. // // Example: // @@ -98,7 +98,7 @@ class FunctionRef<R(Args...)> { std::is_convertible<FR, R>::value>::type; public: - // Constructs a FunctionRef from any invokable type. + // Constructs a FunctionRef from any invocable type. template <typename F, typename = EnableIfCompatible<const F&>> // NOLINTNEXTLINE(runtime/explicit) FunctionRef(const F& f ABSL_ATTRIBUTE_LIFETIME_BOUND) |