[Bug c++/108414] template meta programming

pinskia at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Jan 16 06:40:06 GMT 2023


Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
           Keywords|                            |c++-lambda, rejects-valid

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
> using nth_element_t = typename decltype([]<typename T>(const indexed<I, T>&){return std::type_identity<T>{};}(make_indexer<Ts...>()))::type;

There are some known issue with lambda inside a decltype which seems like might
be causing issues here ...

More information about the Gcc-bugs mailing list