From ca9dfee009fa4ebbf2314d0060fb4536fabc7e99 Mon Sep 17 00:00:00 2001 From: David Lamparter Date: Tue, 4 Jun 2019 18:12:19 +0200 Subject: [PATCH] workflow: document current C++ approach Signed-off-by: David Lamparter --- doc/developer/workflow.rst | 13 +++++++++++++ 1 file changed, 13 insertions(+) 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 ============