They mean exactly the same thing. You’re free to choose whichever you think is easier to read.
In C, you should place static
at the start, but it’s not yet required. I’m not sure if C++ followed C in this regard.
6.11.5 Storage-class specifiers
1 The placement of a storage-class specifier other than at the beginning of the declaration
specifiers in a declaration is an obsolescent feature.