template <typename T>
class Foo {
public:
    static double const vals[];
    int run ();
};

template <typename T>
double const Foo<T>::vals[] = { 1, 2,3 };

template <typename T>
inline
int Foo<T>::run () {
    return sizeof(vals); // error C2070: 'const double []': illegal sizeof operand
}

int main() {}