[Bug c++/69753] [6 Regression] bogus: expected primary-expression before ‘?=>=?UTF-8?Q?’ token
ppalka at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Sun Feb 14 17:45:00 GMT 2016
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69753
--- Comment #6 from Patrick Palka <ppalka at gcc dot gnu.org> ---
I wonder if adding a non-static overload of FromWebContents should affect the
dependent-ness of guest, e.g.:
class A {
public:
template <typename> void As();
static A *FromWebContents();
template <typename... Ts>
A *FromWebContents(Ts...);
};
template <typename T> class B : A {
void FromWebContents() {
auto guest = A::FromWebContents();
guest->As<T>();
}
};
More information about the Gcc-bugs
mailing list