[Bug c++/53403] Function template friend denied access to private types of granting template class.
daniel.kruegler at googlemail dot com
gcc-bugzilla@gcc.gnu.org
Fri May 18 19:44:00 GMT 2012
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53403
Daniel Krügler <daniel.kruegler at googlemail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |daniel.kruegler at
| |googlemail dot com
--- Comment #1 from Daniel Krügler <daniel.kruegler at googlemail dot com> 2012-05-18 18:27:16 UTC ---
The problem also exists for gcc 4.8.0 20120513 (experimental) with or without
activating C++11 support. Further, if the reference to the type in template f
is a dependent form, like
typedef typename Foo<T>::type type;
the error does not occur. This looks like a compiler-defect to me.
More information about the Gcc-bugs
mailing list