summaryrefslogtreecommitdiff
path: root/absl/functional/any_invocable.h
Commit message (Collapse)AuthorAge
* Document that wrapping an empty `std::function` creates a non-empty ↵Gravatar Dino Radakovic2023-04-06
| | | | | | | `AnyInvocable` PiperOrigin-RevId: 522411202 Change-Id: Ifc99f5f6a227efd697039344ea75f53c6f282e53
* Fix typo in commentGravatar Dino Radakovic2023-04-06
| | | | | PiperOrigin-RevId: 522392902 Change-Id: I5764edbe85612e90d02caae49bbf629dcb8879e3
* Detects accidental multiple invocations of ↵Gravatar Abseil Team2022-10-11
| | | | | | | AnyInvocable<R(...)&&>::operator()&& by producing an error in debug mode, and clarifies that the behavior is undefined in the general case. PiperOrigin-RevId: 480392976 Change-Id: I2d4c6f213fa7c8747f125c9735272a8e47b9214b
* AnyInvocable: Move credits to the top of the fileGravatar Dino Radakovic2022-06-24
| | | | | PiperOrigin-RevId: 457014105 Change-Id: I4ecd4185385a213838c6f3241b65536b1f833705
* Release absl::AnyInvocableGravatar Dino Radakovic2022-06-16
AnyInvocable is a C++11 compatible equivalent of the C++23 [std::move_only_function](https://en.cppreference.com/w/cpp/utility/functional/move_only_function/move_only_function). Although this implementation matches an intermediate draft revision of the standard (http://wg21.link/p0288r5), it is neither a standard tracking type nor a seamless backfill type. PiperOrigin-RevId: 455494585 Change-Id: If01565f8eecc78eee38fb794ef142b32b31abc7c