support static value of c++ class