public inbox for libstdc++@gcc.gnu.org
 help / color / mirror / Atom feed
From: Jason Merrill <jason@redhat.com>
To: Ken Matsui <kmatsui@gcc.gnu.org>, gcc-patches@gcc.gnu.org
Cc: libstdc++@gcc.gnu.org
Subject: Re: [PATCH v20 23/26] c++: Implement __is_invocable built-in trait
Date: Fri, 3 May 2024 15:38:05 -0400	[thread overview]
Message-ID: <bc8e3e15-f032-451a-b8f0-2dc61ca5596b@redhat.com> (raw)
In-Reply-To: <20240503032531.1247607-24-kmatsui@gcc.gnu.org>

On 5/2/24 23:25, Ken Matsui wrote:
> Addressed Jason's review comments.  Ok for trunk?
> 
> -- >8 --
> 
> This patch implements built-in trait for std::is_invocable.
> 
> gcc/cp/ChangeLog:
> 
> 	* cp-trait.def: Define __is_invocable.
> 	* constraint.cc (diagnose_trait_expr): Handle CPTK_IS_INVOCABLE.
> 	* semantics.cc (trait_expr_value): Likewise.
> 	(finish_trait_expr): Likewise.
> 	* cp-tree.h (build_invoke): New function.
> 	* method.cc (build_invoke): New function.
> 
> gcc/testsuite/ChangeLog:
> 
> 	* g++.dg/ext/has-builtin-1.C: Test existence of __is_invocable.
> 	* g++.dg/ext/is_invocable1.C: New test.
> 	* g++.dg/ext/is_invocable2.C: New test.
> 	* g++.dg/ext/is_invocable3.C: New test.
> 	* g++.dg/ext/is_invocable4.C: New test.
> 
> Signed-off-by: Ken Matsui <kmatsui@gcc.gnu.org>
> ---
>   gcc/cp/constraint.cc                     |   6 +
>   gcc/cp/cp-trait.def                      |   1 +
>   gcc/cp/cp-tree.h                         |   2 +
>   gcc/cp/method.cc                         | 138 +++++++++
>   gcc/cp/semantics.cc                      |   5 +
>   gcc/testsuite/g++.dg/ext/has-builtin-1.C |   3 +
>   gcc/testsuite/g++.dg/ext/is_invocable1.C | 349 +++++++++++++++++++++++
>   gcc/testsuite/g++.dg/ext/is_invocable2.C | 139 +++++++++
>   gcc/testsuite/g++.dg/ext/is_invocable3.C |  51 ++++
>   gcc/testsuite/g++.dg/ext/is_invocable4.C |  33 +++
>   10 files changed, 727 insertions(+)
>   create mode 100644 gcc/testsuite/g++.dg/ext/is_invocable1.C
>   create mode 100644 gcc/testsuite/g++.dg/ext/is_invocable2.C
>   create mode 100644 gcc/testsuite/g++.dg/ext/is_invocable3.C
>   create mode 100644 gcc/testsuite/g++.dg/ext/is_invocable4.C
> 
> diff --git a/gcc/cp/constraint.cc b/gcc/cp/constraint.cc
> index c28d7bf428e..6d14ef7dcc7 100644
> --- a/gcc/cp/constraint.cc
> +++ b/gcc/cp/constraint.cc
> @@ -3792,6 +3792,12 @@ diagnose_trait_expr (tree expr, tree args)
>       case CPTK_IS_FUNCTION:
>         inform (loc, "  %qT is not a function", t1);
>         break;
> +    case CPTK_IS_INVOCABLE:
> +      if (!t2)
> +    inform (loc, "  %qT is not invocable", t1);
> +      else
> +    inform (loc, "  %qT is not invocable by %qE", t1, t2);
> +      break;
>       case CPTK_IS_LAYOUT_COMPATIBLE:
>         inform (loc, "  %qT is not layout compatible with %qT", t1, t2);
>         break;
> diff --git a/gcc/cp/cp-trait.def b/gcc/cp/cp-trait.def
> index b1c875a6e7d..4e420d5390a 100644
> --- a/gcc/cp/cp-trait.def
> +++ b/gcc/cp/cp-trait.def
> @@ -75,6 +75,7 @@ DEFTRAIT_EXPR (IS_EMPTY, "__is_empty", 1)
>   DEFTRAIT_EXPR (IS_ENUM, "__is_enum", 1)
>   DEFTRAIT_EXPR (IS_FINAL, "__is_final", 1)
>   DEFTRAIT_EXPR (IS_FUNCTION, "__is_function", 1)
> +DEFTRAIT_EXPR (IS_INVOCABLE, "__is_invocable", -1)
>   DEFTRAIT_EXPR (IS_LAYOUT_COMPATIBLE, "__is_layout_compatible", 2)
>   DEFTRAIT_EXPR (IS_LITERAL_TYPE, "__is_literal_type", 1)
>   DEFTRAIT_EXPR (IS_MEMBER_FUNCTION_POINTER, "__is_member_function_pointer", 1)
> diff --git a/gcc/cp/cp-tree.h b/gcc/cp/cp-tree.h
> index 1938ada0268..83dc20e1130 100644
> --- a/gcc/cp/cp-tree.h
> +++ b/gcc/cp/cp-tree.h
> @@ -7338,6 +7338,8 @@ extern tree get_copy_assign			(tree);
>   extern tree get_default_ctor			(tree);
>   extern tree get_dtor				(tree, tsubst_flags_t);
>   extern tree build_stub_object			(tree);
> +extern tree build_invoke			(tree, const_tree,
> +						 tsubst_flags_t);
>   extern tree strip_inheriting_ctors		(tree);
>   extern tree inherited_ctor_binfo		(tree);
>   extern bool base_ctor_omit_inherited_parms	(tree);
> diff --git a/gcc/cp/method.cc b/gcc/cp/method.cc
> index 08a3d34fb01..6bd590707b0 100644
> --- a/gcc/cp/method.cc
> +++ b/gcc/cp/method.cc
> @@ -1928,6 +1928,144 @@ build_trait_object (tree type)
>     return build_stub_object (type);
>   }
>   
> +/* [func.require] Build an expression of INVOKE(FN_TYPE, ARG_TYPES...).  If the
> +   given is not invocable, returns error_mark_node.  */
> +
> +tree
> +build_invoke (tree fn_type, const_tree arg_types, tsubst_flags_t complain)
> +{
> +  if (error_operand_p (fn_type) || error_operand_p (arg_types))
> +    return error_mark_node;
> +
> +  gcc_assert (TYPE_P (fn_type));
> +  gcc_assert (TREE_CODE (arg_types) == TREE_VEC);
> +
> +  /* Access check is required to determine if the given is invocable.  */
> +  deferring_access_check_sentinel acs (dk_no_deferred);
> +
> +  /* INVOKE is an unevaluated context.  */
> +  cp_unevaluated cp_uneval_guard;
> +
> +  bool is_ptrdatamem;
> +  bool is_ptrmemfunc;
> +  if (TREE_CODE (fn_type) == REFERENCE_TYPE)
> +    {
> +      tree deref_fn_type = TREE_TYPE (fn_type);
> +      is_ptrdatamem = TYPE_PTRDATAMEM_P (deref_fn_type);
> +      is_ptrmemfunc = TYPE_PTRMEMFUNC_P (deref_fn_type);
> +
> +      /* Dereference fn_type if it is a pointer to member.  */
> +      if (is_ptrdatamem || is_ptrmemfunc)
> +	fn_type = deref_fn_type;
> +    }
> +  else
> +    {
> +      is_ptrdatamem = TYPE_PTRDATAMEM_P (fn_type);
> +      is_ptrmemfunc = TYPE_PTRMEMFUNC_P (fn_type);
> +    }
> +
> +  if (is_ptrdatamem && TREE_VEC_LENGTH (arg_types) != 1)
> +    {
> +      if (complain & tf_error)
> +	error ("pointer to data member type %qT can only be invoked with "
> +	       "one argument", fn_type);
> +      return error_mark_node;
> +    }
> +
> +  if (is_ptrmemfunc && TREE_VEC_LENGTH (arg_types) == 0)
> +    {
> +      if (complain & tf_error)
> +	error ("pointer to member function type %qT must be invoked with "
> +	       "at least one argument", fn_type);
> +      return error_mark_node;
> +    }
> +
> +  /* Construct an expression of a pointer to member.  */
> +  tree ptrmem_expr;
> +  if (is_ptrdatamem || is_ptrmemfunc)
> +    {
> +      tree datum_type = TREE_VEC_ELT (arg_types, 0);
> +
> +      /* datum must be a class type or a reference/pointer to a class type.  */
> +      if (!(CLASS_TYPE_P (datum_type)
> +	    || ((TYPE_REF_P (datum_type) || POINTER_TYPE_P (datum_type))
> +		&& CLASS_TYPE_P (TREE_TYPE (datum_type)))))
> +	{
> +	  if (complain & tf_error)
> +	    error ("first argument type %qT of a pointer to member must be "
> +		   "a class type or a reference/pointer to a class type",
> +		   datum_type);
> +	  return error_mark_node;
> +	}
> +
> +      if (TYPE_REF_P (datum_type))
> +	datum_type = TREE_TYPE (datum_type);

Unfortunately, stripping the reference here...

> +      bool datum_is_refwrap = false;
> +      if (CLASS_TYPE_P (datum_type))
> +	{
> +	  /* 1.2 & 1.5: Handle std::reference_wrapper.  */
> +	  tree datum_decl = TYPE_NAME (TYPE_MAIN_VARIANT (datum_type));
> +	  if (decl_in_std_namespace_p (datum_decl))
> +	    {
> +	      const_tree name = DECL_NAME (datum_decl);
> +	      if (name && (id_equal (name, "reference_wrapper")))
> +		{
> +		  /* Retrieve T from std::reference_wrapper<T>,
> +		     i.e., decltype(datum.get()).  */
> +		  datum_type = TREE_VEC_ELT (TYPE_TI_ARGS (datum_type), 0);
> +		  datum_is_refwrap = true;
> +		}
> +	    }
> +	}
> +
> +      tree ptrmem_class_type = TYPE_PTRMEM_CLASS_TYPE (fn_type);
> +      const bool ptrmem_is_same_or_base_of_datum =
> +	(same_type_p (ptrmem_class_type, datum_type)
> +	 || (NON_UNION_CLASS_TYPE_P (ptrmem_class_type)
> +	     && NON_UNION_CLASS_TYPE_P (datum_type)
> +	     && (same_type_ignoring_top_level_qualifiers_p (ptrmem_class_type,
> +							    datum_type)
> +		 || DERIVED_FROM_P (ptrmem_class_type, datum_type))));
> +
> +      tree datum_expr = build_trait_object (datum_type);

...and then using the result for build_trait_object, loses the 
difference between lvalue and rvalue references.

It should be enough to move this line up before stripping the reference.

And then you could just

datum_type = TREE_TYPE (datum_expr);

since build_trait_object will have done a convert_from_reference.

> +      if (!ptrmem_is_same_or_base_of_datum && !datum_is_refwrap)
> +	/* 1.3 & 1.6: Try to dereference datum_expr.  */
> +	datum_expr = build_x_indirect_ref (UNKNOWN_LOCATION, datum_expr,
> +					   RO_UNARY_STAR, NULL_TREE, complain);
> +      /* 1.1, 1.2, 1.4, & 1.5: Otherwise.  */
> +
> +      tree fn_expr = build_trait_object (fn_type);
> +      ptrmem_expr = build_m_component_ref (datum_expr, fn_expr, complain);
> +
> +      if (error_operand_p (ptrmem_expr))
> +	return error_mark_node;
> +
> +      if (is_ptrdatamem)
> +	return ptrmem_expr;
> +    }
> +
> +  /* Construct expressions for arguments to INVOKE.  For a pointer to member
> +     function, the first argument, which is the object, is not arguments to
> +     the function.  */
> +  releasing_vec args;
> +  for (int i = is_ptrmemfunc ? 1 : 0; i < TREE_VEC_LENGTH (arg_types); ++i)
> +    {
> +      tree arg_type = TREE_VEC_ELT (arg_types, i);
> +      tree arg = build_trait_object (arg_type);
> +      vec_safe_push (args, arg);
> +    }
> +
> +  tree invoke_expr;
> +  if (is_ptrmemfunc)
> +    invoke_expr = build_offset_ref_call_from_tree (ptrmem_expr, &args,
> +						   complain);
> +  else  /* 1.7.  */
> +    invoke_expr = finish_call_expr (build_trait_object (fn_type), &args, false,
> +				    false, complain);
> +  return invoke_expr;
> +}
> +
>   /* Determine which function will be called when looking up NAME in TYPE,
>      called with a single ARGTYPE argument, or no argument if ARGTYPE is
>      null.  FLAGS and COMPLAIN are as for build_new_method_call.
> diff --git a/gcc/cp/semantics.cc b/gcc/cp/semantics.cc
> index a293e0fc23e..55c2ec4b5b1 100644
> --- a/gcc/cp/semantics.cc
> +++ b/gcc/cp/semantics.cc
> @@ -12561,6 +12561,9 @@ trait_expr_value (cp_trait_kind kind, tree type1, tree type2)
>       case CPTK_IS_FUNCTION:
>         return type_code1 == FUNCTION_TYPE;
>   
> +    case CPTK_IS_INVOCABLE:
> +      return !error_operand_p (build_invoke (type1, type2, tf_none));
> +
>       case CPTK_IS_LAYOUT_COMPATIBLE:
>         return layout_compatible_type_p (type1, type2);
>   
> @@ -12719,6 +12722,7 @@ same_type_ref_bind_p (cp_trait_kind kind, tree type1, tree type2)
>       case CPTK_IS_CONSTRUCTIBLE:
>       case CPTK_IS_NOTHROW_CONSTRUCTIBLE:
>       case CPTK_IS_TRIVIALLY_CONSTRUCTIBLE:
> +    case CPTK_IS_INVOCABLE:
>       case CPTK_REF_CONSTRUCTS_FROM_TEMPORARY:
>       case CPTK_REF_CONVERTS_FROM_TEMPORARY:
>         to = type1;
> @@ -12821,6 +12825,7 @@ finish_trait_expr (location_t loc, cp_trait_kind kind, tree type1, tree type2)
>   
>       case CPTK_IS_CONSTRUCTIBLE:
>       case CPTK_IS_CONVERTIBLE:
> +    case CPTK_IS_INVOCABLE:
>       case CPTK_IS_NOTHROW_CONSTRUCTIBLE:
>       case CPTK_IS_NOTHROW_CONVERTIBLE:
>       case CPTK_IS_TRIVIALLY_CONSTRUCTIBLE:
> diff --git a/gcc/testsuite/g++.dg/ext/has-builtin-1.C b/gcc/testsuite/g++.dg/ext/has-builtin-1.C
> index bcaa56a7bc5..d1c66267855 100644
> --- a/gcc/testsuite/g++.dg/ext/has-builtin-1.C
> +++ b/gcc/testsuite/g++.dg/ext/has-builtin-1.C
> @@ -107,6 +107,9 @@
>   #if !__has_builtin (__is_function)
>   # error "__has_builtin (__is_function) failed"
>   #endif
> +#if !__has_builtin (__is_invocable)
> +# error "__has_builtin (__is_invocable) failed"
> +#endif
>   #if !__has_builtin (__is_layout_compatible)
>   # error "__has_builtin (__is_layout_compatible) failed"
>   #endif
> diff --git a/gcc/testsuite/g++.dg/ext/is_invocable1.C b/gcc/testsuite/g++.dg/ext/is_invocable1.C
> new file mode 100644
> index 00000000000..d21ae1d1958
> --- /dev/null
> +++ b/gcc/testsuite/g++.dg/ext/is_invocable1.C
> @@ -0,0 +1,349 @@
> +// { dg-do compile { target c++11 } }
> +
> +#define SA(X) static_assert((X),#X)
> +
> +using func_type_v0 = void(*)();
> +
> +SA(   __is_invocable( func_type_v0 ) );
> +SA( ! __is_invocable( func_type_v0, int ) );
> +
> +using func_type_i0 = int(*)();
> +
> +SA(   __is_invocable( func_type_i0 ) );
> +SA( ! __is_invocable( func_type_i0, int ) );
> +
> +using func_type_l0 = int&(*)();
> +
> +SA(   __is_invocable( func_type_l0 ) );
> +SA( ! __is_invocable( func_type_l0(int) ) );
> +
> +using func_type_ii = int(*)(int);
> +
> +SA( ! __is_invocable( func_type_ii ) );
> +SA(   __is_invocable( func_type_ii, int ) );
> +
> +using func_type_il = int(*)(int&);
> +
> +SA( ! __is_invocable( func_type_il ) );
> +SA( ! __is_invocable( func_type_il, int ) );
> +SA(   __is_invocable( func_type_il, int& ) );
> +
> +using func_type_ir = int(*)(int&&);
> +
> +SA( ! __is_invocable( func_type_ir ) );
> +SA( ! __is_invocable( func_type_ir, int& ) );
> +SA(   __is_invocable( func_type_ir, int ) );
> +SA(   __is_invocable( func_type_ir, int&& ) );
> +
> +struct A { };
> +
> +using mem_type_i = int A::*;
> +
> +SA( ! __is_invocable( mem_type_i ) );
> +SA( ! __is_invocable( mem_type_i, int ) );
> +SA( ! __is_invocable( mem_type_i, int* ) );
> +SA( ! __is_invocable( mem_type_i, int& ) );
> +SA( ! __is_invocable( mem_type_i, int&& ) );
> +SA(   __is_invocable( mem_type_i, A ) );
> +SA(   __is_invocable( mem_type_i, A* ) );
> +SA(   __is_invocable( mem_type_i, A& ) );
> +SA(   __is_invocable( mem_type_i, A&& ) );
> +SA(   __is_invocable( mem_type_i, const A& ) );
> +SA( ! __is_invocable( mem_type_i, A&, int ) );
> +
> +using memfun_type_i = int (A::*)();
> +
> +SA( ! __is_invocable( memfun_type_i ) );
> +SA( ! __is_invocable( memfun_type_i, int ) );
> +SA( ! __is_invocable( memfun_type_i, int* ) );
> +SA( ! __is_invocable( memfun_type_i, int& ) );
> +SA( ! __is_invocable( memfun_type_i, int&& ) );
> +SA(   __is_invocable( memfun_type_i, A ) );
> +SA(   __is_invocable( memfun_type_i, A* ) );
> +SA(   __is_invocable( memfun_type_i, A& ) );
> +SA(   __is_invocable( memfun_type_i, A&& ) );
> +SA( ! __is_invocable( memfun_type_i, const A& ) );
> +SA( ! __is_invocable( memfun_type_i, A&, int ) );
> +
> +using memfun_type_ic = int (A::*)() const;
> +
> +SA( ! __is_invocable( memfun_type_ic ) );
> +SA( ! __is_invocable( memfun_type_ic, int ) );
> +SA( ! __is_invocable( memfun_type_ic, int& ) );
> +SA(   __is_invocable( memfun_type_ic, A& ) );
> +SA(   __is_invocable( memfun_type_ic, A* ) );
> +SA( ! __is_invocable( memfun_type_ic, A&, int ) );
> +SA( ! __is_invocable( memfun_type_ic, A*, int& ) );
> +SA(   __is_invocable( memfun_type_ic, const A& ) );
> +SA(   __is_invocable( memfun_type_ic, const A* ) );
> +SA( ! __is_invocable( memfun_type_ic, const A&, int& ) );
> +SA( ! __is_invocable( memfun_type_ic, const A*, int ) );
> +
> +using memfun_type_iic = int& (A::*)(int&) const;
> +
> +SA( ! __is_invocable( memfun_type_iic ) );
> +SA( ! __is_invocable( memfun_type_iic, int ) );
> +SA( ! __is_invocable( memfun_type_iic, int& ) );
> +SA( ! __is_invocable( memfun_type_iic, A&, int ) );
> +SA(   __is_invocable( memfun_type_iic, A&, int& ) );
> +SA( ! __is_invocable( memfun_type_iic, A*, int ) );
> +SA(   __is_invocable( memfun_type_iic, A*, int& ) );
> +SA( ! __is_invocable( memfun_type_iic, const A&, int ) );
> +SA( ! __is_invocable( memfun_type_iic, const A&, int&, int ) );
> +SA(   __is_invocable( memfun_type_iic, const A&, int& ) );
> +SA(   __is_invocable( memfun_type_iic, const A*, int& ) );
> +
> +struct B {
> +  int& operator()();
> +  long& operator()() const;
> +  bool& operator()(int);
> +private:
> +  void operator()(int, int);
> +};
> +using CB = const B;
> +
> +SA(   __is_invocable( B ) );
> +SA(   __is_invocable( B& ) );
> +SA(   __is_invocable( B&& ) );
> +SA( ! __is_invocable( B* ) );
> +SA(   __is_invocable( CB ) );
> +SA(   __is_invocable( CB& ) );
> +SA( ! __is_invocable( CB* ) );
> +
> +SA(   __is_invocable( B, int ) );
> +SA(   __is_invocable( B&, int ) );
> +SA(   __is_invocable( B&&, int ) );
> +SA( ! __is_invocable( B*, int ) );
> +SA( ! __is_invocable( CB, int ) );
> +SA( ! __is_invocable( CB&, int ) );
> +SA( ! __is_invocable( CB*, int ) );
> +
> +SA( ! __is_invocable( B, int, int ) );
> +SA( ! __is_invocable( B&, int, int ) );
> +SA( ! __is_invocable( B&&, int, int ) );
> +SA( ! __is_invocable( B*, int, int ) );
> +SA( ! __is_invocable( CB, int, int ) );
> +SA( ! __is_invocable( CB&, int, int ) );
> +SA( ! __is_invocable( CB*, int, int ) );
> +
> +struct C : B { int& operator()() = delete; };
> +using CC = const C;
> +
> +SA( ! __is_invocable( C ) );
> +SA( ! __is_invocable( C& ) );
> +SA( ! __is_invocable( C&& ) );
> +SA( ! __is_invocable( C* ) );
> +SA( ! __is_invocable( CC ) );
> +SA( ! __is_invocable( CC& ) );
> +SA( ! __is_invocable( CC* ) );
> +
> +struct D { B operator*(); };
> +using CD = const D;
> +
> +SA( ! __is_invocable( D ) );
> +
> +struct E { void v(); };
> +using CE = const E;
> +
> +SA( ! __is_invocable( E ) );
> +SA( ! __is_invocable( void (E::*)() ) );
> +SA(   __is_invocable( void (E::*)(), E ) );
> +SA(   __is_invocable( void (E::*)(), E* ) );
> +SA( ! __is_invocable( void (E::*)(), CE ) );
> +
> +struct F : E {};
> +using CF = const F;
> +
> +SA( ! __is_invocable( F ) );
> +SA(   __is_invocable( void (E::*)(), F ) );
> +SA(   __is_invocable( void (E::*)(), F* ) );
> +SA( ! __is_invocable( void (E::*)(), CF ) );
> +
> +struct G { E operator*(); };
> +using CG = const G;
> +
> +SA( ! __is_invocable( G ) );
> +SA(   __is_invocable( void (E::*)(), G ) );
> +SA( ! __is_invocable( void (E::*)(), G* ) );
> +SA( ! __is_invocable( void (E::*)(), CG ) );
> +
> +struct H { E& operator*(); };
> +using CH = const H;
> +
> +SA( ! __is_invocable( H ) );
> +SA(   __is_invocable( void (E::*)(), H ) );
> +SA( ! __is_invocable( void (E::*)(), H* ) );
> +SA( ! __is_invocable( void (E::*)(), CH ) );
> +
> +struct I { E&& operator*(); };
> +using CI = const I;
> +
> +SA( ! __is_invocable( I ) );
> +SA(   __is_invocable( void (E::*)(), I ) );
> +SA( ! __is_invocable( void (E::*)(), I* ) );
> +SA( ! __is_invocable( void (E::*)(), CI ) );
> +
> +struct K { E* operator*(); };
> +using CK = const K;
> +
> +SA( ! __is_invocable( K ) );
> +SA( ! __is_invocable( void (E::*)(), K ) );
> +SA( ! __is_invocable( void (E::*)(), K* ) );
> +SA( ! __is_invocable( void (E::*)(), CK ) );
> +
> +struct L { CE operator*(); };
> +using CL = const L;
> +
> +SA( ! __is_invocable( L ) );
> +SA( ! __is_invocable( void (E::*)(), L ) );
> +SA( ! __is_invocable( void (E::*)(), L* ) );
> +SA( ! __is_invocable( void (E::*)(), CL ) );
> +
> +struct M {
> +  int i;
> +private:
> +  long l;
> +};
> +using CM = const M;
> +
> +SA( ! __is_invocable( M ) );
> +SA( ! __is_invocable( M& ) );
> +SA( ! __is_invocable( M&& ) );
> +SA( ! __is_invocable( M* ) );
> +SA( ! __is_invocable( CM ) );
> +SA( ! __is_invocable( CM& ) );
> +SA( ! __is_invocable( CM* ) );
> +
> +SA( ! __is_invocable( int M::* ) );
> +SA(   __is_invocable( int M::*, M ) );
> +SA(   __is_invocable( int M::*, M& ) );
> +SA(   __is_invocable( int M::*, M&& ) );
> +SA(   __is_invocable( int M::*, M* ) );
> +SA(   __is_invocable( int M::*, CM ) );
> +SA(   __is_invocable( int M::*, CM& ) );
> +SA(   __is_invocable( int M::*, CM* ) );
> +SA( ! __is_invocable( int M::*, int ) );
> +
> +SA( ! __is_invocable( int CM::* ) );
> +SA(   __is_invocable( int CM::*, M ) );
> +SA(   __is_invocable( int CM::*, M& ) );
> +SA(   __is_invocable( int CM::*, M&& ) );
> +SA(   __is_invocable( int CM::*, M* ) );
> +SA(   __is_invocable( int CM::*, CM ) );
> +SA(   __is_invocable( int CM::*, CM& ) );
> +SA(   __is_invocable( int CM::*, CM* ) );
> +SA( ! __is_invocable( int CM::*, int ) );
> +
> +SA( ! __is_invocable( long M::* ) );
> +SA(   __is_invocable( long M::*, M ) );
> +SA(   __is_invocable( long M::*, M& ) );
> +SA(   __is_invocable( long M::*, M&& ) );
> +SA(   __is_invocable( long M::*, M* ) );
> +SA(   __is_invocable( long M::*, CM ) );
> +SA(   __is_invocable( long M::*, CM& ) );
> +SA(   __is_invocable( long M::*, CM* ) );
> +SA( ! __is_invocable( long M::*, long ) );
> +
> +SA( ! __is_invocable( long CM::* ) );
> +SA(   __is_invocable( long CM::*, M ) );
> +SA(   __is_invocable( long CM::*, M& ) );
> +SA(   __is_invocable( long CM::*, M&& ) );
> +SA(   __is_invocable( long CM::*, M* ) );
> +SA(   __is_invocable( long CM::*, CM ) );
> +SA(   __is_invocable( long CM::*, CM& ) );
> +SA(   __is_invocable( long CM::*, CM* ) );
> +SA( ! __is_invocable( long CM::*, long ) );
> +
> +SA( ! __is_invocable( short M::* ) );
> +SA(   __is_invocable( short M::*, M ) );
> +SA(   __is_invocable( short M::*, M& ) );
> +SA(   __is_invocable( short M::*, M&& ) );
> +SA(   __is_invocable( short M::*, M* ) );
> +SA(   __is_invocable( short M::*, CM ) );
> +SA(   __is_invocable( short M::*, CM& ) );
> +SA(   __is_invocable( short M::*, CM* ) );
> +SA( ! __is_invocable( short M::*, short ) );
> +
> +SA( ! __is_invocable( short CM::* ) );
> +SA(   __is_invocable( short CM::*, M ) );
> +SA(   __is_invocable( short CM::*, M& ) );
> +SA(   __is_invocable( short CM::*, M&& ) );
> +SA(   __is_invocable( short CM::*, M* ) );
> +SA(   __is_invocable( short CM::*, CM ) );
> +SA(   __is_invocable( short CM::*, CM& ) );
> +SA(   __is_invocable( short CM::*, CM* ) );
> +SA( ! __is_invocable( short CM::*, short ) );
> +
> +struct N { M operator*(); };
> +SA(   __is_invocable( int M::*, N ) );
> +SA( ! __is_invocable( int M::*, N* ) );
> +
> +struct O { M& operator*(); };
> +SA(   __is_invocable( int M::*, O ) );
> +SA( ! __is_invocable( int M::*, O* ) );
> +
> +struct P { M&& operator*(); };
> +SA(   __is_invocable( int M::*, P ) );
> +SA( ! __is_invocable( int M::*, P* ) );
> +
> +struct Q { M* operator*(); };
> +SA( ! __is_invocable( int M::*, Q ) );
> +SA( ! __is_invocable( int M::*, Q* ) );
> +
> +struct R { void operator()(int = 0); };
> +
> +SA(   __is_invocable( R ) );
> +SA(   __is_invocable( R, int ) );
> +SA( ! __is_invocable( R, int, int ) );
> +
> +struct S { void operator()(int, ...); };
> +
> +SA( ! __is_invocable( S ) );
> +SA(   __is_invocable( S, int ) );
> +SA(   __is_invocable( S, int, int ) );
> +SA(   __is_invocable( S, int, int, int ) );
> +
> +void fn1() {}
> +
> +SA(   __is_invocable( decltype(fn1) ) );
> +
> +void fn2(int arr[10]);
> +
> +SA(   __is_invocable( decltype(fn2), int[10] ) );
> +SA(   __is_invocable( decltype(fn2), int(&)[10] ) );
> +SA(   __is_invocable( decltype(fn2), int(&&)[10] ) );
> +SA( ! __is_invocable( decltype(fn2), int(*)[10] ) );
> +SA( ! __is_invocable( decltype(fn2), int(*&)[10] ) );
> +SA( ! __is_invocable( decltype(fn2), int(*&&)[10] ) );
> +SA(   __is_invocable( decltype(fn2), int[] ) );
> +
> +auto lambda = []() {};
> +
> +SA(   __is_invocable( decltype(lambda) ) );
> +
> +template <typename Func, typename... Args>
> +struct can_invoke {
> +    static constexpr bool value = __is_invocable( Func, Args... );
> +};
> +
> +SA(   can_invoke<decltype(lambda)>::value );
> +
> +struct T {
> +  void func() const {}
> +  int data;
> +};
> +
> +SA(   __is_invocable( decltype(&T::func)&, T& ) );
> +SA(   __is_invocable( decltype(&T::data)&, T& ) );
> +
> +struct U { };
> +struct V : U { U& operator*() = delete; };
> +SA(   __is_invocable( int U::*, V ) );
> +
> +struct W : private U { U& operator*(); };
> +SA( ! __is_invocable( int U::*, W ) );
> +
> +struct X { int m; };
> +struct Y { X& operator*(); };
> +struct Z : Y { };
> +SA(   __is_invocable(int X::*, Z) );
> diff --git a/gcc/testsuite/g++.dg/ext/is_invocable2.C b/gcc/testsuite/g++.dg/ext/is_invocable2.C
> new file mode 100644
> index 00000000000..a68aefd3e13
> --- /dev/null
> +++ b/gcc/testsuite/g++.dg/ext/is_invocable2.C
> @@ -0,0 +1,139 @@
> +// { dg-do compile { target c++11 } }
> +// __is_invocable should handle std::reference_wrapper correctly.
> +
> +#include <functional>
> +
> +#define SA(X) static_assert((X),#X)
> +
> +using std::reference_wrapper;
> +
> +using func_type_v0 = void(*)();
> +
> +SA(   __is_invocable( reference_wrapper<func_type_v0> ) );
> +SA( ! __is_invocable( reference_wrapper<func_type_v0>, int ) );
> +
> +using func_type_i0 = int(*)();
> +
> +SA(   __is_invocable( reference_wrapper<func_type_i0> ) );
> +SA( ! __is_invocable( reference_wrapper<func_type_i0>, int ) );
> +
> +using func_type_l0 = int&(*)();
> +
> +SA(   __is_invocable( reference_wrapper<func_type_l0> ) );
> +SA( ! __is_invocable( reference_wrapper<func_type_l0(int)> ) );
> +
> +using func_type_ii = int(*)(int);
> +
> +SA( ! __is_invocable( reference_wrapper<func_type_ii> ) );
> +SA(   __is_invocable( reference_wrapper<func_type_ii>, int ) );
> +
> +using func_type_il = int(*)(int&);
> +
> +SA( ! __is_invocable( reference_wrapper<func_type_il> ) );
> +SA( ! __is_invocable( reference_wrapper<func_type_il>, int ) );
> +SA(   __is_invocable( reference_wrapper<func_type_il>, int& ) );
> +
> +using func_type_ir = int(*)(int&&);
> +
> +SA( ! __is_invocable( reference_wrapper<func_type_ir> ) );
> +SA( ! __is_invocable( reference_wrapper<func_type_ir>, int& ) );
> +SA(   __is_invocable( reference_wrapper<func_type_ir>, int ) );
> +SA(   __is_invocable( reference_wrapper<func_type_ir>, int&& ) );
> +
> +struct A { };
> +
> +using mem_type_i = int A::*;
> +
> +SA( ! __is_invocable( reference_wrapper<mem_type_i> ) );
> +SA( ! __is_invocable( reference_wrapper<mem_type_i>, int ) );
> +SA( ! __is_invocable( reference_wrapper<mem_type_i>, int* ) );
> +SA( ! __is_invocable( reference_wrapper<mem_type_i>, int& ) );
> +SA( ! __is_invocable( reference_wrapper<mem_type_i>, int&& ) );
> +SA(   __is_invocable( reference_wrapper<mem_type_i>, A ) );
> +SA(   __is_invocable( reference_wrapper<mem_type_i>, A* ) );
> +SA(   __is_invocable( reference_wrapper<mem_type_i>, A& ) );
> +SA(   __is_invocable( reference_wrapper<mem_type_i>, A&& ) );
> +
> +using memfun_type_i = int (A::*)();
> +
> +SA( ! __is_invocable( reference_wrapper<memfun_type_i> ) );
> +SA( ! __is_invocable( reference_wrapper<memfun_type_i>, int ) );
> +SA( ! __is_invocable( reference_wrapper<memfun_type_i>, int* ) );
> +SA( ! __is_invocable( reference_wrapper<memfun_type_i>, int& ) );
> +SA( ! __is_invocable( reference_wrapper<memfun_type_i>, int&& ) );
> +SA(   __is_invocable( reference_wrapper<memfun_type_i>, A ) );
> +SA(   __is_invocable( reference_wrapper<memfun_type_i>, A* ) );
> +SA(   __is_invocable( reference_wrapper<memfun_type_i>, A& ) );
> +SA(   __is_invocable( reference_wrapper<memfun_type_i>, A&& ) );
> +SA( ! __is_invocable( reference_wrapper<memfun_type_i>, const A& ) );
> +SA( ! __is_invocable( reference_wrapper<memfun_type_i>, A&, int ) );
> +
> +using memfun_type_ic = int (A::*)() const;
> +
> +SA( ! __is_invocable( reference_wrapper<memfun_type_ic> ) );
> +SA( ! __is_invocable( reference_wrapper<memfun_type_ic>, int ) );
> +SA( ! __is_invocable( reference_wrapper<memfun_type_ic>, int& ) );
> +SA(   __is_invocable( reference_wrapper<memfun_type_ic>, A& ) );
> +SA(   __is_invocable( reference_wrapper<memfun_type_ic>, A* ) );
> +SA( ! __is_invocable( reference_wrapper<memfun_type_ic>, A&, int ) );
> +SA( ! __is_invocable( reference_wrapper<memfun_type_ic>, A*, int& ) );
> +SA(   __is_invocable( reference_wrapper<memfun_type_ic>, const A& ) );
> +SA(   __is_invocable( reference_wrapper<memfun_type_ic>, const A* ) );
> +SA( ! __is_invocable( reference_wrapper<memfun_type_ic>, const A&, int& ) );
> +SA( ! __is_invocable( reference_wrapper<memfun_type_ic>, const A*, int ) );
> +
> +using memfun_type_iic = int& (A::*)(int&) const;
> +
> +SA( ! __is_invocable( reference_wrapper<memfun_type_iic> ) );
> +SA( ! __is_invocable( reference_wrapper<memfun_type_iic>, int ) );
> +SA( ! __is_invocable( reference_wrapper<memfun_type_iic>, int& ) );
> +SA( ! __is_invocable( reference_wrapper<memfun_type_iic>, A&, int ) );
> +SA(   __is_invocable( reference_wrapper<memfun_type_iic>, A&, int& ) );
> +SA( ! __is_invocable( reference_wrapper<memfun_type_iic>, A*, int ) );
> +SA(   __is_invocable( reference_wrapper<memfun_type_iic>, A*, int& ) );
> +SA( ! __is_invocable( reference_wrapper<memfun_type_iic>, const A&, int ) );
> +SA( ! __is_invocable( reference_wrapper<memfun_type_iic>, const A&, int&, int ) );
> +SA(   __is_invocable( reference_wrapper<memfun_type_iic>, const A&, int& ) );
> +SA(   __is_invocable( reference_wrapper<memfun_type_iic>, const A*, int& ) );
> +
> +struct B {
> +  int& operator()();
> +  long& operator()() const;
> +  bool& operator()(int);
> +private:
> +  void operator()(int, int);
> +};
> +using CB = const B;
> +
> +SA(   __is_invocable( reference_wrapper<B> ) );
> +SA(   __is_invocable( reference_wrapper<B>& ) );
> +SA(   __is_invocable( reference_wrapper<B>&& ) );
> +SA(   __is_invocable( reference_wrapper<CB> ) );
> +SA(   __is_invocable( reference_wrapper<CB>& ) );
> +SA(   __is_invocable( reference_wrapper<B>, int ) );
> +SA( ! __is_invocable( reference_wrapper<B>&, int, int ) );
> +
> +struct C : B { int& operator()() = delete; };
> +using CC = const C;
> +
> +SA( ! __is_invocable( reference_wrapper<C> ) );
> +SA( ! __is_invocable( reference_wrapper<C>& ) );
> +SA( ! __is_invocable( reference_wrapper<C>&& ) );
> +SA( ! __is_invocable( reference_wrapper<CC> ) );
> +SA( ! __is_invocable( reference_wrapper<CC>& ) );
> +
> +struct D { B operator*(); };
> +using CD = const D;
> +
> +SA( ! __is_invocable( reference_wrapper<D> ) );
> +SA( ! __is_invocable( reference_wrapper<D>& ) );
> +SA( ! __is_invocable( reference_wrapper<D>&& ) );
> +SA( ! __is_invocable( reference_wrapper<D>* ) );
> +SA( ! __is_invocable( reference_wrapper<D*> ) );
> +SA( ! __is_invocable( reference_wrapper<D*>* ) );
> +
> +std::function<void()> fn = []() {};
> +auto refwrap = std::ref(fn);
> +
> +SA(   __is_invocable( decltype(fn) ) );
> +SA(   __is_invocable( decltype(refwrap) ) );
> diff --git a/gcc/testsuite/g++.dg/ext/is_invocable3.C b/gcc/testsuite/g++.dg/ext/is_invocable3.C
> new file mode 100644
> index 00000000000..8699b0a53ca
> --- /dev/null
> +++ b/gcc/testsuite/g++.dg/ext/is_invocable3.C
> @@ -0,0 +1,51 @@
> +// { dg-do compile { target c++11 } }
> +// __is_invocable should handle incomplete class correctly.
> +
> +#define SA(X) static_assert((X),#X)
> +
> +struct Incomplete;
> +
> +SA( ! __is_invocable( Incomplete ) ); // { dg-error "incomplete type" }
> +SA( ! __is_invocable( Incomplete, int ) ); // { dg-error "incomplete type" }
> +
> +SA( ! __is_invocable( int, Incomplete, int ) ); // { dg-error "incomplete type" }
> +SA( ! __is_invocable( int, Incomplete ) ); // { dg-error "incomplete type" }
> +
> +SA( ! __is_invocable( Incomplete, Incomplete() ) ); // { dg-error "incomplete type" }
> +SA( ! __is_invocable( Incomplete, Incomplete(int), int ) ); // { dg-error "incomplete type" }
> +SA( ! __is_invocable( Incomplete, Incomplete(int, int), int, int ) ); // { dg-error "incomplete type" }
> +
> +SA( ! __is_invocable( Incomplete, Incomplete(), int, int ) ); // { dg-error "incomplete type" }
> +
> +SA( ! __is_invocable( int(Incomplete), Incomplete ) ); // { dg-error "incomplete type" }
> +SA( ! __is_invocable( int(int, Incomplete), int, Incomplete ) ); // { dg-error "incomplete type" }
> +SA( ! __is_invocable( int(int, Incomplete), Incomplete, int ) ); // { dg-error "incomplete type" }
> +
> +SA(   __is_invocable( int(Incomplete&), Incomplete& ) ); // { dg-bogus "incomplete type" }
> +SA(   __is_invocable( int(int, Incomplete&), int, Incomplete& ) ); // { dg-bogus "incomplete type" }
> +
> +SA(   __is_invocable( int(Incomplete&&), Incomplete&& ) ); // { dg-bogus "incomplete type" }
> +SA(   __is_invocable( int(int, Incomplete&&), int, Incomplete&& ) ); // { dg-bogus "incomplete type" }
> +
> +SA(   __is_invocable( int(const Incomplete&&), const Incomplete&& ) ); // { dg-bogus "incomplete type" }
> +SA(   __is_invocable( int(int, const Incomplete&&), int, const Incomplete&& ) ); // { dg-bogus "incomplete type" }
> +
> +SA(   __is_invocable( int(const Incomplete&), const Incomplete& ) ); // { dg-bogus "incomplete type" }
> +SA(   __is_invocable( int(int, const Incomplete&), int, const Incomplete& ) ); // { dg-bogus "incomplete type" }
> +
> +SA(   __is_invocable( int(const Incomplete&), Incomplete& ) ); // { dg-bogus "incomplete type" }
> +SA(   __is_invocable( int(int, const Incomplete&), int, Incomplete& ) ); // { dg-bogus "incomplete type" }
> +
> +SA(   __is_invocable( int Incomplete::*, const Incomplete& ) ); // { dg-bogus "incomplete type" }
> +SA( ! __is_invocable( void (Incomplete::*)(long&), const Incomplete*, long& ) ); // { dg-bogus "incomplete type" }
> +SA(   __is_invocable( void (Incomplete::*)(long&) const, Incomplete*, long& ) ); // { dg-bogus "incomplete type" }
> +
> +template <typename T>
> +struct Holder { T t; };
> +
> +SA(   __is_invocable( int(Holder<Incomplete>&), Holder<Incomplete>& ) ); // { dg-bogus "incomplete type" }
> +
> +// Define Incomplete, which is now not incomplete.
> +struct Incomplete { void operator()(); };
> +
> +SA(   __is_invocable( Incomplete ) ); // { dg-bogus "incomplete type" }
> diff --git a/gcc/testsuite/g++.dg/ext/is_invocable4.C b/gcc/testsuite/g++.dg/ext/is_invocable4.C
> new file mode 100644
> index 00000000000..d1efccf08f8
> --- /dev/null
> +++ b/gcc/testsuite/g++.dg/ext/is_invocable4.C
> @@ -0,0 +1,33 @@
> +// { dg-do compile { target c++11 } }
> +// Failed access check should be a substitution failure, not an error.
> +
> +#define SA(X) static_assert((X),#X)
> +
> +template<bool B>
> +struct bool_constant { static constexpr bool value = B; };
> +
> +template<typename _Fn, typename... _ArgTypes>
> +struct is_invocable
> +: public bool_constant<__is_invocable(_Fn, _ArgTypes...)>
> +{ };
> +
> +#if __cpp_variable_templates
> +template<typename _Fn, typename... _ArgTypes>
> +constexpr bool is_invocable_v = __is_invocable(_Fn, _ArgTypes...);
> +#endif
> +
> +class Private
> +{
> +  void operator()() const
> +  {
> +    SA( ! is_invocable<Private>::value );
> +#if __cpp_variable_templates
> +    SA( ! is_invocable_v<Private> );
> +#endif
> +  }
> +};
> +
> +SA( ! is_invocable<Private>::value );
> +#if __cpp_variable_templates
> +SA( ! is_invocable_v<Private> );
> +#endif


  reply	other threads:[~2024-05-03 19:38 UTC|newest]

Thread overview: 294+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-12-23 22:02 [PATCH v2 0/8] Optimize more type traits Ken Matsui
2023-12-23 22:02 ` [PATCH v2 1/8] c++: Implement __is_const built-in trait Ken Matsui
2023-12-23 22:02 ` [PATCH v2 2/8] libstdc++: Optimize std::is_const compilation performance Ken Matsui
2023-12-23 22:02 ` [PATCH v2 3/8] c++: Implement __is_volatile built-in trait Ken Matsui
2023-12-23 22:02 ` [PATCH v2 4/8] libstdc++: Optimize std::is_volatile compilation performance Ken Matsui
2023-12-23 22:02 ` [PATCH v2 5/8] c++: Implement __is_pointer built-in trait Ken Matsui
2023-12-23 22:02 ` [PATCH v2 6/8] libstdc++: Optimize std::is_pointer compilation performance Ken Matsui
2024-01-04 22:06   ` Patrick Palka
2024-01-04 22:16     ` Patrick Palka
2024-01-06  4:59       ` Ken Matsui
2024-01-04 22:13   ` Jonathan Wakely
2024-01-06  4:59     ` Ken Matsui
2023-12-23 22:02 ` [PATCH v2 7/8] c++: Implement __is_unbounded_array built-in trait Ken Matsui
2023-12-23 22:02 ` [PATCH v2 8/8] libstdc++: Optimize std::is_unbounded_array compilation performance Ken Matsui
2024-01-06  5:05 ` [PATCH v3 0/8] Optimize more type traits Ken Matsui
2024-01-06  5:05   ` [PATCH v3 1/8] c++: Implement __is_const built-in trait Ken Matsui
2024-01-06  5:05   ` [PATCH v3 2/8] libstdc++: Optimize std::is_const compilation performance Ken Matsui
2024-01-06  5:05   ` [PATCH v3 3/8] c++: Implement __is_volatile built-in trait Ken Matsui
2024-01-06  5:05   ` [PATCH v3 4/8] libstdc++: Optimize std::is_volatile compilation performance Ken Matsui
2024-01-06  5:05   ` [PATCH v3 5/8] c++: Implement __is_pointer built-in trait Ken Matsui
2024-01-06  5:05   ` [PATCH v3 6/8] libstdc++: Optimize std::is_pointer compilation performance Ken Matsui
2024-01-06  5:05   ` [PATCH v3 7/8] c++: Implement __is_unbounded_array built-in trait Ken Matsui
2024-01-06  5:05   ` [PATCH v3 8/8] libstdc++: Optimize std::is_unbounded_array compilation performance Ken Matsui
2024-02-15  5:07   ` PING: [PATCH v3 0/8] Optimize more type traits Ken Matsui
2024-02-19 13:51   ` [PATCH v7 01/22] c++: Implement __is_const built-in trait Ken Matsui
2024-02-19 13:51     ` [PATCH v7 02/22] libstdc++: Optimize std::is_const compilation performance Ken Matsui
2024-02-19 13:51     ` [PATCH v7 03/22] c++: Implement __is_volatile built-in trait Ken Matsui
2024-02-19 13:51     ` [PATCH v7 04/22] libstdc++: Optimize std::is_volatile compilation performance Ken Matsui
2024-02-19 13:51     ` [PATCH v7 05/22] c++: Implement __is_pointer built-in trait Ken Matsui
2024-02-19 13:51     ` [PATCH v7 06/22] libstdc++: Optimize std::is_pointer compilation performance Ken Matsui
2024-02-19 13:51     ` [PATCH v7 07/22] c++: Implement __is_unbounded_array built-in trait Ken Matsui
2024-02-19 13:51     ` [PATCH v7 08/22] libstdc++: Optimize std::is_unbounded_array compilation performance Ken Matsui
2024-02-19 13:51     ` [PATCH v7 09/22] c++: Implement __add_pointer built-in trait Ken Matsui
2024-02-19 13:51     ` [PATCH v7 10/22] libstdc++: Optimize std::add_pointer compilation performance Ken Matsui
2024-02-19 13:51     ` [PATCH v7 11/22] c++: Implement __remove_extent built-in trait Ken Matsui
2024-02-19 13:51     ` [PATCH v7 12/22] libstdc++: Optimize std::remove_extent compilation performance Ken Matsui
2024-02-19 13:51     ` [PATCH v7 13/22] c++: Implement __remove_all_extents built-in trait Ken Matsui
2024-02-19 13:51     ` [PATCH v7 14/22] libstdc++: Optimize std::remove_all_extents compilation performance Ken Matsui
2024-02-19 13:51     ` [PATCH v7 15/22] c++: Implement __add_lvalue_reference built-in trait Ken Matsui
2024-02-19 13:51     ` [PATCH v7 16/22] libstdc++: Optimize std::add_lvalue_reference compilation performance Ken Matsui
2024-02-19 13:51     ` [PATCH v7 17/22] c++: Implement __add_rvalue_reference built-in trait Ken Matsui
2024-02-19 13:51     ` [PATCH v7 18/22] libstdc++: Optimize std::add_rvalue_reference compilation performance Ken Matsui
2024-02-19 13:51     ` [PATCH v7 19/22] c++: Implement __decay built-in trait Ken Matsui
2024-02-19 13:51     ` [PATCH v7 20/22] libstdc++: Optimize std::decay compilation performance Ken Matsui
2024-02-19 13:51     ` [PATCH v7 21/22] c++: Implement __rank built-in trait Ken Matsui
2024-02-19 13:51     ` [PATCH v7 22/22] libstdc++: Optimize std::rank compilation performance Ken Matsui
2024-02-20  5:20     ` [PATCH v8 23/24] c++: Implement __is_invocable built-in trait Ken Matsui
2024-02-20 15:52       ` [PATCH v9 " Ken Matsui
2024-02-21  6:20         ` [PATCH v11 " Ken Matsui
2024-02-21  8:51           ` [PATCH v12 25/26] c++: Implement __is_nothrow_invocable " Ken Matsui
2024-02-21  8:51           ` [PATCH v12 26/26] libstdc++: Optimize std::is_nothrow_invocable compilation performance Ken Matsui
2024-02-21  9:35             ` [PATCH v13 01/26] c++: Implement __is_const built-in trait Ken Matsui
2024-02-21  9:35               ` [PATCH v13 02/26] libstdc++: Optimize std::is_const compilation performance Ken Matsui
2024-02-21  9:35               ` [PATCH v13 03/26] c++: Implement __is_volatile built-in trait Ken Matsui
2024-02-21  9:35               ` [PATCH v13 04/26] libstdc++: Optimize std::is_volatile compilation performance Ken Matsui
2024-02-21  9:35               ` [PATCH v13 05/26] c++: Implement __is_pointer built-in trait Ken Matsui
2024-02-21  9:35               ` [PATCH v13 06/26] libstdc++: Optimize std::is_pointer compilation performance Ken Matsui
2024-02-21  9:35               ` [PATCH v13 07/26] c++: Implement __is_unbounded_array built-in trait Ken Matsui
2024-02-21  9:35               ` [PATCH v13 08/26] libstdc++: Optimize std::is_unbounded_array compilation performance Ken Matsui
2024-02-21  9:35               ` [PATCH v13 09/26] c++: Implement __add_pointer built-in trait Ken Matsui
2024-02-21  9:36               ` [PATCH v13 10/26] libstdc++: Optimize std::add_pointer compilation performance Ken Matsui
2024-02-21  9:36               ` [PATCH v13 11/26] c++: Implement __remove_extent built-in trait Ken Matsui
2024-02-21  9:36               ` [PATCH v13 12/26] libstdc++: Optimize std::remove_extent compilation performance Ken Matsui
2024-02-21  9:36               ` [PATCH v13 13/26] c++: Implement __remove_all_extents built-in trait Ken Matsui
2024-02-21  9:36               ` [PATCH v13 14/26] libstdc++: Optimize std::remove_all_extents compilation performance Ken Matsui
2024-02-21  9:36               ` [PATCH v13 15/26] c++: Implement __add_lvalue_reference built-in trait Ken Matsui
2024-02-21  9:36               ` [PATCH v13 16/26] libstdc++: Optimize std::add_lvalue_reference compilation performance Ken Matsui
2024-02-21  9:36               ` [PATCH v13 17/26] c++: Implement __add_rvalue_reference built-in trait Ken Matsui
2024-02-21  9:36               ` [PATCH v13 18/26] libstdc++: Optimize std::add_rvalue_reference compilation performance Ken Matsui
2024-02-21  9:36               ` [PATCH v13 19/26] c++: Implement __decay built-in trait Ken Matsui
2024-02-21  9:36               ` [PATCH v13 20/26] libstdc++: Optimize std::decay compilation performance Ken Matsui
2024-02-21  9:36               ` [PATCH v13 21/26] c++: Implement __rank built-in trait Ken Matsui
2024-02-21  9:36               ` [PATCH v13 22/26] libstdc++: Optimize std::rank compilation performance Ken Matsui
2024-02-21  9:36               ` [PATCH v13 23/26] c++: Implement __is_invocable built-in trait Ken Matsui
2024-02-21  9:36               ` [PATCH v13 24/26] libstdc++: Optimize std::is_invocable compilation performance Ken Matsui
2024-02-21  9:36               ` [PATCH v13 25/26] c++: Implement __is_nothrow_invocable built-in trait Ken Matsui
2024-02-21  9:36               ` [PATCH v13 26/26] libstdc++: Optimize std::is_nothrow_invocable compilation performance Ken Matsui
2024-02-28 19:26               ` [PATCH v14 00/26] Optimize more type traits Ken Matsui
2024-02-28 19:26                 ` [PATCH v14 01/26] c++: Implement __is_const built-in trait Ken Matsui
2024-04-30 20:54                   ` Jason Merrill
2024-02-28 19:26                 ` [PATCH v14 02/26] libstdc++: Optimize std::is_const compilation performance Ken Matsui
2024-02-28 19:26                 ` [PATCH v14 03/26] c++: Implement __is_volatile built-in trait Ken Matsui
2024-04-30 20:54                   ` Jason Merrill
2024-02-28 19:26                 ` [PATCH v14 04/26] libstdc++: Optimize std::is_volatile compilation performance Ken Matsui
2024-02-28 19:26                 ` [PATCH v14 05/26] c++: Implement __is_pointer built-in trait Ken Matsui
2024-04-30 20:56                   ` Jason Merrill
2024-02-28 19:26                 ` [PATCH v14 06/26] libstdc++: Optimize std::is_pointer compilation performance Ken Matsui
2024-02-28 19:26                 ` [PATCH v14 07/26] c++: Implement __is_unbounded_array built-in trait Ken Matsui
2024-04-30 20:56                   ` Jason Merrill
2024-02-28 19:26                 ` [PATCH v14 08/26] libstdc++: Optimize std::is_unbounded_array compilation performance Ken Matsui
2024-02-28 19:26                 ` [PATCH v14 09/26] c++: Implement __add_pointer built-in trait Ken Matsui
2024-04-30 20:58                   ` Jason Merrill
2024-02-28 19:26                 ` [PATCH v14 10/26] libstdc++: Optimize std::add_pointer compilation performance Ken Matsui
2024-02-28 19:26                 ` [PATCH v14 11/26] c++: Implement __remove_extent built-in trait Ken Matsui
2024-04-30 20:59                   ` Jason Merrill
2024-02-28 19:26                 ` [PATCH v14 12/26] libstdc++: Optimize std::remove_extent compilation performance Ken Matsui
2024-02-28 19:26                 ` [PATCH v14 13/26] c++: Implement __remove_all_extents built-in trait Ken Matsui
2024-04-30 21:00                   ` Jason Merrill
2024-02-28 19:26                 ` [PATCH v14 14/26] libstdc++: Optimize std::remove_all_extents compilation performance Ken Matsui
2024-02-28 19:26                 ` [PATCH v14 15/26] c++: Implement __add_lvalue_reference built-in trait Ken Matsui
2024-04-30 21:00                   ` Jason Merrill
2024-02-28 19:26                 ` [PATCH v14 16/26] libstdc++: Optimize std::add_lvalue_reference compilation performance Ken Matsui
2024-02-28 19:26                 ` [PATCH v14 17/26] c++: Implement __add_rvalue_reference built-in trait Ken Matsui
2024-04-30 21:02                   ` Jason Merrill
2024-02-28 19:26                 ` [PATCH v14 18/26] libstdc++: Optimize std::add_rvalue_reference compilation performance Ken Matsui
2024-02-28 19:26                 ` [PATCH v14 19/26] c++: Implement __decay built-in trait Ken Matsui
2024-04-30 21:03                   ` Jason Merrill
2024-02-28 19:26                 ` [PATCH v14 20/26] libstdc++: Optimize std::decay compilation performance Ken Matsui
2024-02-28 19:26                 ` [PATCH v14 21/26] c++: Implement __rank built-in trait Ken Matsui
2024-04-30 21:08                   ` Jason Merrill
2024-05-02 15:00                     ` Ken Matsui
2024-05-02 15:15                     ` Patrick Palka
2024-05-02 15:34                       ` Ken Matsui
2024-05-02 16:20                         ` Ken Matsui
2024-05-02 16:45                           ` Jason Merrill
2024-05-02 16:56                             ` Ken Matsui
2024-05-02 17:12                             ` Trait built-in naming convention Jason Merrill
2024-05-02 17:24                               ` Ken Matsui
2024-05-02 17:37                                 ` Ville Voutilainen
2024-05-02 17:54                                   ` Marek Polacek
2024-05-02 19:30                                     ` Ken Matsui
2024-05-02 19:36                                       ` Iain Sandoe
2024-05-02 19:48                                         ` Jason Merrill
2024-05-02 19:52                                           ` Ken Matsui
2024-05-02 20:09                                             ` Jakub Jelinek
2024-05-02 20:15                                               ` Ken Matsui
2024-05-02 19:17                                   ` Jonathan Wakely
2024-05-02 19:25                                     ` Ken Matsui
2024-02-28 19:26                 ` [PATCH v14 22/26] libstdc++: Optimize std::rank compilation performance Ken Matsui
2024-02-28 19:26                 ` [PATCH v14 23/26] c++: Implement __is_invocable built-in trait Ken Matsui
2024-03-08 17:17                   ` Patrick Palka
2024-03-08 17:38                     ` Ken Matsui
2024-03-15  1:53                     ` Ken Matsui
2024-03-15  6:34                       ` Ken Matsui
2024-02-28 19:26                 ` [PATCH v14 24/26] libstdc++: Optimize std::is_invocable compilation performance Ken Matsui
2024-02-28 19:26                 ` [PATCH v14 25/26] c++: Implement __is_nothrow_invocable built-in trait Ken Matsui
2024-04-30 21:09                   ` Jason Merrill
2024-02-28 19:26                 ` [PATCH v14 26/26] libstdc++: Optimize std::is_nothrow_invocable compilation performance Ken Matsui
2024-03-08 17:22                   ` Patrick Palka
2024-03-08 17:35                     ` Ken Matsui
2024-03-07 21:33                 ` [PATCH v14 00/26] Optimize more type traits Ken Matsui
2024-05-02 16:13                 ` [PATCH v16 " Ken Matsui
2024-05-02 16:13                   ` [PATCH v16 01/26] c++: Implement __builtin_is_const trait Ken Matsui
2024-05-02 16:13                   ` [PATCH v16 02/26] libstdc++: Optimize std::is_const compilation performance Ken Matsui
2024-05-02 16:13                   ` [PATCH v16 03/26] c++: Implement __builtin_is_volatile trait Ken Matsui
2024-05-02 16:13                   ` [PATCH v16 04/26] libstdc++: Optimize std::is_volatile compilation performance Ken Matsui
2024-05-02 16:13                   ` [PATCH v16 05/26] c++: Implement __builtin_is_pointer trait Ken Matsui
2024-05-02 16:13                   ` [PATCH v16 06/26] libstdc++: Optimize std::is_pointer compilation performance Ken Matsui
2024-05-02 16:13                   ` [PATCH v16 07/26] c++: Implement __builtin_is_unbounded_array trait Ken Matsui
2024-05-02 16:13                   ` [PATCH v16 08/26] libstdc++: Optimize std::is_unbounded_array compilation performance Ken Matsui
2024-05-02 16:13                   ` [PATCH v16 09/26] c++: Implement __builtin_add_pointer trait Ken Matsui
2024-05-02 16:13                   ` [PATCH v16 10/26] libstdc++: Optimize std::add_pointer compilation performance Ken Matsui
2024-05-02 16:13                   ` [PATCH v16 11/26] c++: Implement __builtin_remove_extent trait Ken Matsui
2024-05-02 16:13                   ` [PATCH v16 12/26] libstdc++: Optimize std::remove_extent compilation performance Ken Matsui
2024-05-02 16:13                   ` [PATCH v16 13/26] c++: Implement __builtin_remove_all_extents trait Ken Matsui
2024-05-02 16:13                   ` [PATCH v16 14/26] libstdc++: Optimize std::remove_all_extents compilation performance Ken Matsui
2024-05-02 16:13                   ` [PATCH v16 15/26] c++: Implement __builtin_add_lvalue_reference trait Ken Matsui
2024-05-02 16:13                   ` [PATCH v16 16/26] libstdc++: Optimize std::add_lvalue_reference compilation performance Ken Matsui
2024-05-02 16:13                   ` [PATCH v16 17/26] c++: Implement __builtin_add_rvalue_reference trait Ken Matsui
2024-05-02 16:13                   ` [PATCH v16 18/26] libstdc++: Optimize std::add_rvalue_reference compilation performance Ken Matsui
2024-05-02 16:13                   ` [PATCH v16 19/26] c++: Implement __builtin_decay trait Ken Matsui
2024-05-02 16:13                   ` [PATCH v16 20/26] libstdc++: Optimize std::decay compilation performance Ken Matsui
2024-05-02 16:13                   ` [PATCH v16 21/26] c++: Implement __builtin_rank trait Ken Matsui
2024-05-02 16:13                   ` [PATCH v16 22/26] libstdc++: Optimize std::rank compilation performance Ken Matsui
2024-05-02 16:13                   ` [PATCH v16 23/26] c++: Implement __builtin_is_invocable trait Ken Matsui
2024-05-02 16:13                   ` [PATCH v16 24/26] libstdc++: Optimize std::is_invocable compilation performance Ken Matsui
2024-05-02 16:13                   ` [PATCH v16 25/26] c++: Implement __builtin_is_nothrow_invocable trait Ken Matsui
2024-05-02 16:13                   ` [PATCH v16 26/26] libstdc++: Optimize std::is_nothrow_invocable compilation performance Ken Matsui
2024-05-02 18:42                   ` [PATCH v17 00/26] Optimize more type traits Ken Matsui
2024-05-02 18:42                     ` [PATCH v17 01/26] c++: Implement __is_const built-in trait Ken Matsui
2024-05-02 19:49                       ` Jason Merrill
2024-05-02 18:42                     ` [PATCH v17 02/26] libstdc++: Optimize std::is_const compilation performance Ken Matsui
2024-05-02 18:42                     ` [PATCH v17 03/26] c++: Implement __is_volatile built-in trait Ken Matsui
2024-05-02 19:49                       ` Jason Merrill
2024-05-02 18:42                     ` [PATCH v17 04/26] libstdc++: Optimize std::is_volatile compilation performance Ken Matsui
2024-05-02 18:42                     ` [PATCH v17 05/26] c++: Implement __is_pointer built-in trait Ken Matsui
2024-05-02 19:50                       ` Jason Merrill
2024-05-02 18:42                     ` [PATCH v17 06/26] libstdc++: Optimize std::is_pointer compilation performance Ken Matsui
2024-05-02 18:42                     ` [PATCH v17 07/26] c++: Implement __builtin_is_unbounded_array trait Ken Matsui
2024-05-02 18:42                     ` [PATCH v17 08/26] libstdc++: Optimize std::is_unbounded_array compilation performance Ken Matsui
2024-05-02 18:42                     ` [PATCH v17 09/26] c++: Implement __add_pointer built-in trait Ken Matsui
2024-05-02 18:42                     ` [PATCH v17 10/26] libstdc++: Optimize std::add_pointer compilation performance Ken Matsui
2024-05-02 18:42                     ` [PATCH v17 11/26] c++: Implement __remove_extent built-in trait Ken Matsui
2024-05-02 18:42                     ` [PATCH v17 12/26] libstdc++: Optimize std::remove_extent compilation performance Ken Matsui
2024-05-02 18:42                     ` [PATCH v17 13/26] c++: Implement __remove_all_extents built-in trait Ken Matsui
2024-05-02 18:42                     ` [PATCH v17 14/26] libstdc++: Optimize std::remove_all_extents compilation performance Ken Matsui
2024-05-02 18:42                     ` [PATCH v17 15/26] c++: Implement __add_lvalue_reference built-in trait Ken Matsui
2024-05-02 18:42                     ` [PATCH v17 16/26] libstdc++: Optimize std::add_lvalue_reference compilation performance Ken Matsui
2024-05-02 18:42                     ` [PATCH v17 17/26] c++: Implement __add_rvalue_reference built-in trait Ken Matsui
2024-05-02 18:42                     ` [PATCH v17 18/26] libstdc++: Optimize std::add_rvalue_reference compilation performance Ken Matsui
2024-05-02 18:42                     ` [PATCH v17 19/26] c++: Implement __decay built-in trait Ken Matsui
2024-05-02 18:42                     ` [PATCH v17 20/26] libstdc++: Optimize std::decay compilation performance Ken Matsui
2024-05-02 18:42                     ` [PATCH v17 21/26] c++: Implement __array_rank built-in trait Ken Matsui
2024-05-02 18:42                     ` [PATCH v17 22/26] libstdc++: Optimize std::rank compilation performance Ken Matsui
2024-05-02 18:42                     ` [PATCH v17 23/26] c++: Implement __builtin_is_invocable trait Ken Matsui
2024-05-02 18:42                     ` [PATCH v17 24/26] libstdc++: Optimize std::is_invocable compilation performance Ken Matsui
2024-05-02 18:42                     ` [PATCH v17 25/26] c++: Implement __builtin_is_nothrow_invocable trait Ken Matsui
2024-05-02 18:42                     ` [PATCH v17 26/26] libstdc++: Optimize std::is_nothrow_invocable compilation performance Ken Matsui
2024-05-02 20:12                     ` [PATCH v18 00/26] Optimize more type traits Ken Matsui
2024-05-02 20:12                       ` [PATCH v18 01/26] c++: Implement __is_const built-in trait Ken Matsui
2024-05-02 20:12                       ` [PATCH v18 02/26] libstdc++: Optimize std::is_const compilation performance Ken Matsui
2024-05-07 13:55                         ` Ken Matsui
2024-05-02 20:12                       ` [PATCH v18 03/26] c++: Implement __is_volatile built-in trait Ken Matsui
2024-05-02 20:12                       ` [PATCH v18 04/26] libstdc++: Optimize std::is_volatile compilation performance Ken Matsui
2024-05-02 20:12                       ` [PATCH v18 05/26] c++: Implement __is_pointer built-in trait Ken Matsui
2024-05-02 20:12                       ` [PATCH v18 06/26] libstdc++: Optimize std::is_pointer compilation performance Ken Matsui
2024-05-02 20:12                       ` [PATCH v18 07/26] c++: Implement __is_unbounded_array built-in trait Ken Matsui
2024-05-02 20:12                       ` [PATCH v18 08/26] libstdc++: Optimize std::is_unbounded_array compilation performance Ken Matsui
2024-05-02 20:12                       ` [PATCH v18 09/26] c++: Implement __add_pointer built-in trait Ken Matsui
2024-05-02 20:12                       ` [PATCH v18 10/26] libstdc++: Optimize std::add_pointer compilation performance Ken Matsui
2024-05-02 20:12                       ` [PATCH v18 11/26] c++: Implement __remove_extent built-in trait Ken Matsui
2024-05-02 20:12                       ` [PATCH v18 12/26] libstdc++: Optimize std::remove_extent compilation performance Ken Matsui
2024-05-02 20:12                       ` [PATCH v18 13/26] c++: Implement __remove_all_extents built-in trait Ken Matsui
2024-05-02 20:12                       ` [PATCH v18 14/26] libstdc++: Optimize std::remove_all_extents compilation performance Ken Matsui
2024-05-02 20:12                       ` [PATCH v18 15/26] c++: Implement __add_lvalue_reference built-in trait Ken Matsui
2024-05-02 20:12                       ` [PATCH v18 16/26] libstdc++: Optimize std::add_lvalue_reference compilation performance Ken Matsui
2024-05-02 20:12                       ` [PATCH v18 17/26] c++: Implement __add_rvalue_reference built-in trait Ken Matsui
2024-05-02 20:12                       ` [PATCH v18 18/26] libstdc++: Optimize std::add_rvalue_reference compilation performance Ken Matsui
2024-05-02 20:12                       ` [PATCH v18 19/26] c++: Implement __decay built-in trait Ken Matsui
2024-05-02 20:12                       ` [PATCH v18 20/26] libstdc++: Optimize std::decay compilation performance Ken Matsui
2024-05-02 20:12                       ` [PATCH v18 21/26] c++: Implement __array_rank built-in trait Ken Matsui
2024-05-02 20:12                       ` [PATCH v18 22/26] libstdc++: Optimize std::rank compilation performance Ken Matsui
2024-05-02 20:12                       ` [PATCH v18 23/26] c++: Implement __is_invocable built-in trait Ken Matsui
2024-05-02 20:38                         ` Jason Merrill
2024-05-02 20:45                           ` Marek Polacek
2024-05-02 20:50                             ` Ken Matsui
2024-05-02 20:47                           ` Ken Matsui
2024-05-03  2:43                             ` Jason Merrill
2024-05-03  2:46                               ` Ken Matsui
2024-05-02 20:54                           ` Ken Matsui
2024-05-03  2:09                         ` [PATCH v19 " Ken Matsui
2024-05-03  2:33                           ` Jason Merrill
2024-05-03  3:25                           ` [PATCH v20 " Ken Matsui
2024-05-03 19:38                             ` Jason Merrill [this message]
2024-05-03 20:28                               ` Ken Matsui
2024-05-03 20:52                             ` [PATCH v21 20/23] " Ken Matsui
2024-05-07 18:36                               ` Jason Merrill
2024-05-07 18:46                                 ` Ken Matsui
2024-05-08  5:04                               ` [PATCH v22 " Ken Matsui
2024-05-09 16:16                                 ` Jason Merrill
2024-05-10 11:18                                   ` Ken Matsui
2024-05-10 11:24                                 ` [PATCH v23 " Ken Matsui
2024-05-10 14:20                                   ` Jason Merrill
2024-05-10 14:43                                     ` Ken Matsui
2024-05-10 14:45                                   ` [PATCH v24 " Ken Matsui
2024-05-10 15:27                                     ` Jason Merrill
2024-05-10 16:11                                       ` Ken Matsui
2024-05-10 16:14                                     ` [PATCH v25 " Ken Matsui
2024-05-10 20:23                                       ` Jason Merrill
2024-05-10 20:39                                         ` Ken Matsui
2024-05-11  9:01                                       ` [PATCH v26 01/13] libstdc++: Optimize std::is_const compilation performance Ken Matsui
2024-05-11  9:01                                         ` [PATCH v26 02/13] libstdc++: Optimize std::is_volatile " Ken Matsui
2024-06-13 12:17                                           ` Jonathan Wakely
2024-05-11  9:01                                         ` [PATCH v26 03/13] libstdc++: Optimize std::is_pointer " Ken Matsui
2024-06-13 12:31                                           ` Jonathan Wakely
2024-06-13 13:08                                             ` Ken Matsui
2024-06-14 20:47                                             ` Andrew Pinski
2024-05-11  9:01                                         ` [PATCH v26 04/13] libstdc++: Optimize std::is_unbounded_array " Ken Matsui
2024-06-13 12:32                                           ` Jonathan Wakely
2024-05-11  9:01                                         ` [PATCH v26 05/13] libstdc++: Optimize std::add_pointer " Ken Matsui
2024-06-13 12:32                                           ` Jonathan Wakely
2024-05-11  9:01                                         ` [PATCH v26 06/13] libstdc++: Optimize std::remove_extent " Ken Matsui
2024-06-13 12:33                                           ` Jonathan Wakely
2024-05-11  9:01                                         ` [PATCH v26 07/13] libstdc++: Optimize std::remove_all_extents " Ken Matsui
2024-06-13 12:33                                           ` Jonathan Wakely
2024-05-11  9:01                                         ` [PATCH v26 08/13] libstdc++: Optimize std::add_lvalue_reference " Ken Matsui
2024-06-13 12:38                                           ` Jonathan Wakely
2024-05-11  9:01                                         ` [PATCH v26 09/13] libstdc++: Optimize std::add_rvalue_reference " Ken Matsui
2024-06-13 12:38                                           ` Jonathan Wakely
2024-05-11  9:01                                         ` [PATCH v26 10/13] libstdc++: Optimize std::decay " Ken Matsui
2024-06-13 12:39                                           ` Jonathan Wakely
2024-05-11  9:01                                         ` [PATCH v26 11/13] libstdc++: Optimize std::rank " Ken Matsui
2024-06-13 12:40                                           ` Jonathan Wakely
2024-05-11  9:01                                         ` [PATCH v26 12/13] libstdc++: Optimize std::is_invocable " Ken Matsui
2024-06-13 12:42                                           ` Jonathan Wakely
2024-05-11  9:01                                         ` [PATCH v26 13/13] libstdc++: Optimize std::is_nothrow_invocable " Ken Matsui
2024-06-13 12:42                                           ` Jonathan Wakely
2024-05-23 22:14                                         ` [PATCH v26 01/13] libstdc++: Optimize std::is_const " Patrick Palka
2024-05-23 22:15                                           ` Ken Matsui
2024-06-13 12:46                                             ` Jonathan Wakely
2024-06-13 12:50                                               ` Ken Matsui
2024-06-13 12:16                                         ` Jonathan Wakely
2024-06-13 13:39                                         ` [PATCH v27 1/3] libstdc++: Optimize std::is_pointer " Ken Matsui
2024-06-13 13:39                                           ` [PATCH v27 2/3] libstdc++: Optimize std::add_lvalue_reference " Ken Matsui
2024-06-13 13:55                                             ` Jonathan Wakely
2024-06-13 13:58                                               ` Ken Matsui
2024-06-13 13:39                                           ` [PATCH v27 3/3] libstdc++: Optimize std::add_rvalue_reference " Ken Matsui
2024-06-13 13:56                                             ` Jonathan Wakely
2024-06-13 13:57                                           ` [PATCH v27 1/3] libstdc++: Optimize std::is_pointer " Jonathan Wakely
2024-05-02 20:12                       ` [PATCH v18 24/26] libstdc++: Optimize std::is_invocable " Ken Matsui
2024-05-02 20:12                       ` [PATCH v18 25/26] c++: Implement __is_nothrow_invocable built-in trait Ken Matsui
2024-05-02 20:12                       ` [PATCH v18 26/26] libstdc++: Optimize std::is_nothrow_invocable compilation performance Ken Matsui
2024-02-20  5:20     ` [PATCH v8 24/24] libstdc++: Optimize std::is_invocable " Ken Matsui
2024-02-20 22:17       ` [PATCH v10 " Ken Matsui

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bc8e3e15-f032-451a-b8f0-2dc61ca5596b@redhat.com \
    --to=jason@redhat.com \
    --cc=gcc-patches@gcc.gnu.org \
    --cc=kmatsui@gcc.gnu.org \
    --cc=libstdc++@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).