C++: Why must private functions be declared?

后端 未结 0 1159
滥情空心
滥情空心 2021-02-11 18:10

Why do classes in C++ have to declare their private functions? Has it actual technical reasons (what is its role at compile time) or is it simply for consistency\'s sake?

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