[Bug c++/124794] [reflection] ICE on member function template splicing

"mpolacek at gcc dot gnu.org via Gcc-bugs" <[email protected]>
Newsgroups gmane.comp.gcc.bugs
Message-ID <[email protected]/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=124794

Marek Polacek <mpolacek at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Assignee|unassigned at gcc dot gnu.org      |mpolacek at gcc dot gnu.org
             Status|NEW                         |ASSIGNED

--- Comment #6 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
(In reply to keng from comment #5)
> Still not solved, 
> https://godbolt.org/z/da6xP84MW
> 
> ```
> #include <meta>
> struct C { template <class T> void f(T); };
> constexpr auto ac = std::meta::access_context::current();
> constexpr auto f1 = members_of(^^C, ac)[0];
> void (C::*p2)(int) = &[:f1:];
> ```

Thanks for reporting, reproduced.  I'll take a look.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.