[all-commits] [llvm/llvm-project] 3fbd3e: [libc++] Implement [P0769] "Add shift to algorithm...

Quuxplusone via All-commits all-commits at lists.llvm.org
Mon Jan 25 10:01:32 PST 2021


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 3fbd3eaf28c1e6f2bb9519022611829dfe3b0464
      https://github.com/llvm/llvm-project/commit/3fbd3eaf28c1e6f2bb9519022611829dfe3b0464
  Author: Arthur O'Dwyer <arthur.j.odwyer at gmail.com>
  Date:   2021-01-25 (Mon, 25 Jan 2021)

  Changed paths:
    M libcxx/docs/Cxx2aStatusPaperStatus.csv
    M libcxx/docs/FeatureTestMacroTable.rst
    M libcxx/include/algorithm
    M libcxx/include/version
    A libcxx/test/std/algorithms/alg.modifying.operations/alg.shift/shift_left.pass.cpp
    A libcxx/test/std/algorithms/alg.modifying.operations/alg.shift/shift_right.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++] Implement [P0769] "Add shift to algorithm" (shift_left, shift_right)

I believe this is a complete implementation of std::shift_left and std::shift_right from
http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2018/p0769r2.pdf

Some test cases copied-with-modification from D60027.

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




More information about the All-commits mailing list