#include #include class A { public: int Method() { return std::min(kVar - 0, 1); } // int Method() { return std::min(kVar, 1); } private: static const int kVar = 1000; char arr[kVar]; }; //const int A::kVar; int main(int argc, char **argv) { A a; fprintf(stderr, "%d\n", a.Method()); return 0; }