[all-commits] [llvm/llvm-project] 239236: [libc++] Remove pair dependency (#85621)

Nikolas Klauser via All-commits all-commits at lists.llvm.org
Tue Apr 2 10:37:52 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 239236b8c2154aa49e98bc7ed774a7d2712edf50
      https://github.com/llvm/llvm-project/commit/239236b8c2154aa49e98bc7ed774a7d2712edf50
  Author: Nikolas Klauser <nikolasklauser at berlin.de>
  Date:   2024-04-02 (Tue, 02 Apr 2024)

  Changed paths:
    M libcxx/include/__ranges/zip_view.h
    M libcxx/include/__utility/pair.h
    M libcxx/include/module.modulemap
    M libcxx/include/tuple
    M libcxx/test/std/ranges/range.adaptors/range.zip/borrowing.compile.pass.cpp
    M libcxx/test/std/ranges/range.utility/range.subrange/operator.pair_like.pass.cpp
    M libcxx/test/std/utilities/tuple/tuple.tuple/tuple.helper/tuple_size_incomplete.pass.cpp
    M libcxx/test/std/utilities/tuple/tuple.tuple/tuple.helper/tuple_size_structured_bindings.pass.cpp
    M libcxx/test/std/utilities/tuple/tuple.tuple/tuple.helper/tuple_size_value_sfinae.pass.cpp

  Log Message:
  -----------
  [libc++] Remove pair dependency (#85621)

This moves the definition of a `pair` constructor for `<tuple>` to
`<__utility/pair.h>` and uses the forward declaration of `pair` in
`<tuple>` instead of including the definition.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list