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

            Bug ID: 125443
           Summary: std::meta::is_conversion_function returns false for
                    conversion function template instantiation
           Product: gcc
           Version: 17.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: eczbek.void at gmail dot com
  Target Milestone: ---

https://godbolt.org/z/64scdzo13

```
struct A {
        template<typename T>
        operator T();
};

static_assert(not is_conversion_function(^^A::operator int));
static_assert(is_conversion_function_template(^^A::operator int));
```

std::meta::is_conversion_function should return true, and
std::meta::is_conversion_function_template should return false.

Reply via email to