How to utilize a public constant reference to a private (struct) member for code encapsulation

前端 未结 0 705
-上瘾入骨i
-上瘾入骨i 2021-01-30 04:01

In my buggy class, I\'m only exposing a constant version of MyStruct, experimenting with initializing a constant reference to the private member in an initializer l

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