[libcxx-commits] [PATCH] D90569: [RFC] [libc++] P1645 constexpr for <numeric>

Mark de Wever via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Sun Nov 1 11:21:33 PST 2020


Mordante created this revision.
Mordante added a reviewer: ldionne.
Mordante added a project: libc++.
Herald added a subscriber: arichardson.
Herald added a reviewer: libc++.
Mordante requested review of this revision.

Implements P1645 <https://reviews.llvm.org/P1645>: constexpr for <numeric> algorithms

This implements the `constexpr` for one overload of `std::accumulate`. I'd like to get some feedback before adding the other functions and overloads of `<numeric>` to this patch.

Or do you prefer small patches per function? (In that case I'll to update the status since it now expects one patch.)


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D90569

Files:
  libcxx/docs/FeatureTestMacroTable.rst
  libcxx/include/numeric
  libcxx/include/version
  libcxx/test/std/language.support/support.limits/support.limits.general/numeric.version.pass.cpp
  libcxx/test/std/language.support/support.limits/support.limits.general/version.version.pass.cpp
  libcxx/test/std/numerics/numeric.ops/accumulate/accumulate.pass.cpp
  libcxx/utils/generate_feature_test_macro_components.py
  libcxx/www/cxx2a_status.html

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D90569.302169.patch
Type: text/x-patch
Size: 12696 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20201101/e76f1e40/attachment.bin>


More information about the libcxx-commits mailing list