https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111803

--- Comment #3 from grbrown <grbrown93 at sbcglobal dot net> ---
(In reply to grbrown from comment #2)
> From my tests though, removing the 'template<DataType>' will allow it to
> work, so I don't know if you're explanation is entirely correct.

I.e. replace

template<typename DataType>
void print(DataType ClassType::*member)
{
}

with

void print(float ClassType::*member)
{
}

Reply via email to