How to make a public but immutable variable (only outside) of a class in C++

前端 未结 0 739
温柔的废话
温柔的废话 2020-12-13 11:12

Rather than using a function that returns a class member, sometimes I can\'t do this and the compiler gives me an error with something like Cxx11 error, or,

相关标签:
回答
  • 消灭零回复
提交回复
热议问题