Ich habe eine Klasse, die als API für meine Bibliothek verwendet wird. Die Methode sollte nicht aus Sicherheitsgründen, sondern aus praktischen Gründen versteckt sein. < /P>
// myclass.hpp
class MyClass(
);
< /code>
// myclass_hidden.hpp
void MyClass::specialmethod();
< /code>
Then I don't provide the myclass_hidden.hpp, it's just added for adding public methods only used by the users with the header file, keeping the API/ABI.
Kann ich eine öffentliche Methode definieren, ohne sie in den Kopfball zu erklären? ⇐ C++
-
- Similar Topics
- Replies
- Views
- Last post
-
-
Wie man einen Kopfball versteckt, wenn man in Kotlin nach unten scrollen
by Anonymous » » in Android - 0 Replies
- 7 Views
-
Last post by Anonymous
-