Are there any limits for how much indentation can be used on multi-line (paragraph) commands?
Consider a typical use-case of @details in the context of a function:
/**
* @brief Do foo.
* @details Lorem ipsum dolor sit amet, mentitum rationibus nec an.
* Usu magna eirmod et, aperiri discere volumus pri ex.
*
* Te pro alii vidit, cu nonumes mediocritatem duo.
* Paulo detracto tincidunt id vim, ad has oblique percipit.
*
* @tparam T The argument type.
* @param param1 The first parameter.
* @param param2 The second parameter.
* @return The return value.
*/
template< typename T >
inline
T foo( T const& param1, T const& param2 );
The long @details paragraphs have to be wrapped, which leads to the question of are there any restrictions on this indentation?
I know that Doxygen uses Markdown, which has specific indentation restrictions / uses, such as the "4 space indentation" for codeblocks. Would the indentation above confuse or conflict in cases where I wanted to insert code?
More generally, are there other indentation uses and possible conflicts I'm unaware of?
@thomas-matthews, this is a question about technical limitations, not aesthetic style.
JAVADOC_AUTOBRIEF. this would remove the need for any indentation in the source comment. - Cheeseminer