E2486 Cannot use address of class member as non-type template argument (C++)
Go Up to Compiler Errors And Warnings (C++) Index
Non-type template arguments may only be of integral type, or the address of a global variable. They cannot be the address of a class member. For example:
struct bar {
int x;
} y;
template<int T>
class foo;
foo<&y.x> z;// error: not an integral or global address