[all-commits] [llvm/llvm-project] 493f14: [libc++] [P0879] constexpr std::sort

Quuxplusone via All-commits all-commits at lists.llvm.org
Wed Feb 3 15:57:40 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 493f1407927cdf6db2e08f150ed9f9b8abe4ac45
      https://github.com/llvm/llvm-project/commit/493f1407927cdf6db2e08f150ed9f9b8abe4ac45
  Author: Arthur O'Dwyer <arthur.j.odwyer at gmail.com>
  Date:   2021-02-03 (Wed, 03 Feb 2021)

  Changed paths:
    M libcxx/docs/Cxx2aStatusIssuesStatus.csv
    M libcxx/docs/Cxx2aStatusPaperStatus.csv
    M libcxx/docs/FeatureTestMacroTable.rst
    M libcxx/include/algorithm
    M libcxx/include/version
    A libcxx/test/std/algorithms/alg.sorting/alg.sort/sort/sort_constexpr.pass.cpp
    A libcxx/test/std/algorithms/alg.sorting/alg.sort/sort/sort_constexpr_comp.pass.cpp
    M libcxx/test/std/language.support/support.limits/support.limits.general/algorithm.version.pass.cpp
    M libcxx/test/std/language.support/support.limits/support.limits.general/version.version.pass.cpp
    M libcxx/utils/generate_feature_test_macro_components.py

  Log Message:
  -----------
  [libc++] [P0879] constexpr std::sort

This completes libc++'s implementation of
P0879 "Constexpr for swap and swap related functions."
http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2018/p0879r0.html

For the feature-macro adjustment, see
https://cplusplus.github.io/LWG/issue3256

Differential Revision: https://reviews.llvm.org/D93661




More information about the All-commits mailing list