google / cel-cpp

Fast, portable, non-Turing complete expression evaluation (C++)
https://cel.dev
Apache License 2.0
168 stars 48 forks source link

Mark non-modifying container algorithms as constexpr for C++20. #824

Closed copybara-service[bot] closed 1 month ago

copybara-service[bot] commented 2 months ago

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.