https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118413

Patrick Palka <ppalka at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |14.3
           Keywords|                            |rejects-valid
             Status|NEW                         |ASSIGNED
           Assignee|unassigned at gcc dot gnu.org      |ppalka at gcc dot 
gnu.org

--- Comment #5 from Patrick Palka <ppalka at gcc dot gnu.org> ---
e.g.

diff --git a/libstdc++-v3/include/std/ranges b/libstdc++-v3/include/std/ranges
index ad69a94b21f..2ca96c52065 100644
--- a/libstdc++-v3/include/std/ranges
+++ b/libstdc++-v3/include/std/ranges
@@ -2260,7 +2260,8 @@ namespace views::__adaptor

       using _RangeAdaptor<_Transform>::operator();
       static constexpr int _S_arity = 2;
-      static constexpr bool _S_has_simple_extra_args = true;
+      template<typename _Fp>
+       static constexpr bool _S_has_simple_extra_args =
copy_constructible<_Fp>;
     };

     inline constexpr _Transform transform;

Reply via email to