From: David Lamparter Date: Tue, 4 Jun 2019 16:12:19 +0000 (+0200) Subject: workflow: document current C++ approach X-Git-Tag: base_7.2~265^2 X-Git-Url: https://git.puffer.fish/?a=commitdiff_plain;h=ca9dfee009fa4ebbf2314d0060fb4536fabc7e99;p=matthieu%2Ffrr.git workflow: document current C++ approach Signed-off-by: David Lamparter --- 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 ============