Home > Back-end >  About the static members of the class, help greatly
About the static members of the class, help greatly

Time:02-19

about "c + + primer" a knowledge of the book, there are some arcane, consult bosses!

a, as shown in figure, "is an initialization of const or constexpr static don't need to define"
This sentence "do not need to define" mean? What is the difference between the two types, really cannot read
2, "you don't need to specifically defined on the outside of the Account period"
I checked the online, some people say that the call statement within the class, the is defined outside the class, but here is the book says "don't need outside Account specifically defined period", the
This is not defined, no?
three, like the last sentence of the example
The other words "can't find the members of the statements define", then the class in the initialization of "static constexpr int period=30" is not defined but statement?

CodePudding user response:

Two, three ask you own in answer?
One does not need to do so clear now, such as read behind you will naturally understand,
  • Related