------- Comment #3 from chris dot fairles at gmail dot com 2008-09-03 20:39 ------- Reduced testcase w/o the need for headers:
template<class T>
void f(T&& a, bool);
template<class T> void f(T&& a)
{
f(static_cast<T&&>(a), true);
}
int main()
{
int a;
f(a);
}
undefined reference to 'void f<int&>(int&&&, bool)'
(note: the mangled name is _Z1fIRiEvOT_b for what its worth)
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37089
