summaryrefslogtreecommitdiff
path: root/absl/functional/overload_test.cc
Commit message (Collapse)AuthorAge
* overload: make the constructor constexprGravatar Abseil Team2024-05-24
| | | | | PiperOrigin-RevId: 637029703 Change-Id: I58b4c3a3f1aab3062b51d15c5b9fecfd3ca3193a
* `overload_test`: Remove a few unnecessary trailing return typesGravatar Dino Radakovic2024-05-23
| | | | | | | | | | `absl::StrCat` always returns a `std::string`. Specifying it using a trailing return type does not help. Tests are documentation, and they should be consistent with [the google style guide](https://google.github.io/styleguide/cppguide.html#trailing_return). For example, this is different than `-> absl::string_view` and returning string literals, where it is actually a load-bearing change. PiperOrigin-RevId: 636705683 Change-Id: I0d84a562a59bc0c16be01dd2ae5538adb401432e
* overload: allow using the underlying type with CTAD directly.Gravatar Aaron Jacobs2024-04-23
| | | | | | | There's no need to go through an extra layer of indirection to get this. PiperOrigin-RevId: 627567108 Change-Id: I241851c5294417aae069047e35961ed58475e59e
* Document and test ability to use absl::Overload with generic lambdas.Gravatar Vitaly Goldshteyn2024-03-06
| | | | | PiperOrigin-RevId: 613141617 Change-Id: Ife68495d4a5951b734db7407fb99686cf45a5133
* `absl::Overload()` which returns a functor that provides overloads based on ↵Gravatar Abseil Team2023-09-26
the functors passed to it. PiperOrigin-RevId: 568476251 Change-Id: Ic625c9b5300d1db496979c178ca1e655581f9276