In C++, is there a way I can make a mutable const member variable? Like with the “final” keyword in java?

后端 未结 0 743
天涯浪人
天涯浪人 2020-12-14 05:02

I\'m creating a game engine class which will have a "logger" member. Like this:

class Engine {
public:
    c         


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