summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Lamparter <equinox@diac24.net>2019-06-04 18:12:19 +0200
committerDavid Lamparter <equinox@diac24.net>2019-06-04 18:12:19 +0200
commitca9dfee009fa4ebbf2314d0060fb4536fabc7e99 (patch)
tree7c1fab9871816c76e7db63be2e6c8b11b99a7425
parentac97970d241fde8826816ca47b45585b6d2f67be (diff)
workflow: document current C++ approach
Signed-off-by: David Lamparter <equinox@diac24.net>
-rw-r--r--doc/developer/workflow.rst13
1 files changed, 13 insertions, 0 deletions
diff --git a/doc/developer/workflow.rst b/doc/developer/workflow.rst
index 6e426afeb5..07c43ac2de 100644
--- a/doc/developer/workflow.rst
+++ b/doc/developer/workflow.rst
@@ -368,6 +368,19 @@ Documentation should be written in reStructuredText. Sphinx extensions may be
utilized but pure ReST is preferred where possible. See
:ref:`documentation`.
+Use of C++
+----------
+
+While C++ is not accepted for core components of FRR, extensions, modules or
+other distinct components may want to use C++ and include FRR header files.
+There is no requirement on contributors to work to retain C++ compatibility,
+but fixes for C++ compatibility are welcome.
+
+This implies that the burden of work to keep C++ compatibility is placed with
+the people who need it, and they may provide it at their leisure to the extent
+it is useful to them. So, if only a subset of header files, or even parts of
+a header file are made available to C++, this is perfectly fine.
+
Code Reviews
============