Ticket #5786: Properly handle cv-qualified member pointers as template parameter.
Merge pull request #308 from simartin/ticket_5786

Ticket #5786: Properly handle cv-qualified member pointers as template parameter