I want to use a pointer to a class member as a template parameter as in:
template
struct MyStruct {
An answer to my question was proposed in this paper for the next upcoming C++ standard:
This syntax was proposed:
template
struct some_struct { /* ... */ };
some_struct<&A::f> x;
The need for a new syntactical construct indicates that you cannot do that by now.
I hope n3601 will be accepted. :-)