I run into the following problem documenting my code with doxygen.
Large parts of the code are created using preprocessor macros like this
///Helpermacroforgeneratingselectorsforspecialialized///implementationsofelement-wisebinaryoperations;generic///implementationfollowsbelow#defineFDBB_GENERATE_BINARY_ELEMENTOPERATION_OVERLOADS(OPNAME)\/** @brief \ Selector for (specialized) implementation of \ fdbb::internal::elem_##OPNAME##<A,B>(A&& a, B&& b) function \ */\template<typenameA,typenameB,typename=void>\structget_elem_##OPNAME##_impl:publicstd::integral_constant<EnumETL,EnumETL::GENERIC>{};FDBB_GENERATE_BINARY_ELEMENTOPERATION_OVERLOADS(mul)FDBB_GENERATE_BINARY_ELEMENTOPERATION_OVERLOADS(div)FDBB_GENERATE_BINARY_ELEMENTOPERATION_OVERLOADS(pow)#undefFDBB_GENERATE_BINARY_ELEMENTOPERATION_OVERLOADS
Running doxygen (v1.8.11) with the following configuration of the preprocessor
struct get_elem_mul_impl
\ Selector for (specialized) implementation of \ fdbb::internal::elem_mul<A,B>(A&& a, B&& b) function \ More...
Obviously, the backslash that is needed for multiline preprocessor macros is included in the documentation.
Any help on how to configure doxygen and/or modify the documentation to prevent the backslashes from being included into the documentation is appreciated.
Best regards,
Matthias
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Dear all,
I run into the following problem documenting my code with doxygen.
Large parts of the code are created using preprocessor macros like this
Running doxygen (v1.8.11) with the following configuration of the preprocessor
produces the following output (html):
Obviously, the backslash that is needed for multiline preprocessor macros is included in the documentation.
Any help on how to configure doxygen and/or modify the documentation to prevent the backslashes from being included into the documentation is appreciated.
Best regards,
Matthias