From 656df6ddd6b5231705798540c347efeebf8ac8a9 Mon Sep 17 00:00:00 2001 From: Loek Le Blansch Date: Mon, 11 Nov 2024 15:52:43 +0100 Subject: update contributing.md --- contributing.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/contributing.md b/contributing.md index 8799057..a80f2b4 100644 --- a/contributing.md +++ b/contributing.md @@ -652,6 +652,20 @@ that you can click on to open them. bool bar = 0; ``` +-
+ The reason for friend relations are documented +
GoodBad
+ + ```cpp + //! ComponentManager calls the private constructor of this class + friend class ComponentManager; + ``` + + + ```cpp + friend class ComponentManager; + ``` +
## CMakeLists-specific -- cgit v1.2.3