Commit Graph

5 Commits

Author SHA1 Message Date
Abseil Team
00478de3e9 Mark non-modifying container algorithms as constexpr for C++20.
This change marks Abseil's non-modifying sequence operations including
absl::linear_search and absl::c_linear_search as constexpr when building with
C++20.
PiperOrigin-RevId: 659812405
Change-Id: I8dc2cee873f30531b2eb8fb3da12085505a43a1a
2024-08-05 22:55:39 -07:00
Derek Mauro
b5fb0582b5 Use STL algorithms available since C++14 to implement absl::equal and
absl::rotate.

Prior to C++14 these were either polyfills or fixes for bugs in
standard libraries.

PiperOrigin-RevId: 575295101
Change-Id: Ie01e77fedadc879c73203d71babd40c87a419af3
2023-10-20 12:49:46 -07:00
Derek Mauro
10ec11de9c algorithm_test: suppress bogus -Wnonnull warning in GCC 12
Upstream bug report: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105705

PiperOrigin-RevId: 454937873
Change-Id: I44f940caf36d83714af765f01cc43c5143fe21c3
2022-06-14 13:11:39 -07:00
nik7273
38b704384c Changed HTTP URLs to HTTPS where possible (#270) 2019-03-08 10:27:53 -05:00
misterg
c2e7548296 Initial Commit 2017-09-19 16:54:40 -04:00