[Bug c++/63658] [4.9/5 Regression] Using class reference as template parameter causes compilation to fail
daniel.kruegler at googlemail dot com
gcc-bugzilla@gcc.gnu.org
Mon Oct 27 20:46:00 GMT 2014
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63658
Daniel Krügler <daniel.kruegler at googlemail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |daniel.kruegler@googlemail.
| |com
--- Comment #1 from Daniel Krügler <daniel.kruegler at googlemail dot com> ---
The problem seems not to depend on the friend declaration, therefore a more
reduced example code can be formed:
//------------------
struct Descriptor {};
template <Descriptor & D>
struct foo
{
void size ();
};
Descriptor g_descriptor = {};
template<> void foo<g_descriptor>::size()
{
}
//------------------
More information about the Gcc-bugs
mailing list