On Tue, Dec 16, 2025 at 10:48:40PM +0700, Jason Merrill wrote:
> > +/* Process std::meta::is_deleted.
> > +   Returns: true if r represents a function that is deleted.
> > +   Otherwise, false.  */
> > +
> > +static tree
> > +eval_is_deleted (tree r)
> > +{
> > +  r = maybe_get_reflection_fndecl (r);
> > +  if (TREE_CODE (r) == FUNCTION_DECL && DECL_DELETED_FN (r))
> 
> Is there no way to ask this about function templates?

https://eel.is/c++draft/meta.reflection#queries-15
says just function, not function template, so that would need
a CWG to change that, right?

        Jakub

Reply via email to