+ 3
Will inlining work with classes methods in cpp?
Hello everyone! I have some question from oop theme in cpp: if I define some method of class as inline, will code of this method be inserted in places where this method is called in main, for example, as usual inline function?
1 ответ
+ 5
I think not because I did it with private members (inline public methods revoking private one)
and it works properly