[Bug c++/35650] [4.1/4.2/4.3/4.4 Regression] Can't bind ref-to-function through using-decl. in namespace
bangerth at dealii dot org
gcc-bugzilla@gcc.gnu.org
Tue Mar 25 19:03:00 GMT 2008
------- Comment #2 from bangerth at dealii dot org 2008-03-25 19:02 -------
Confirmed again. Funny enough, this works:
-----------------
void f();
namespace N { using ::f; }
void h()
{
void (& b)() = N::f; // not ok
void (& c)() = *&N::f; // ok!?
}
-----------------
W.
--
bangerth at dealii dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |bangerth at dealii dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35650
More information about the Gcc-bugs
mailing list