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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|compile error accessing     |compile error accessing
                   |member function of          |member function of
                   |dependent base class        |dependent base class
                   |template in exception       |template in noexcept
                   |specification               |specification

--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Interesting this works though:
template <typename T>
struct B {
  void foo(T t) {}
};
template <typename T>
struct D : B<T> {
  auto foo(T t) -> decltype(B<T>::foo(t));
};
template struct D<int>;

---- CUT ---

Reply via email to