Doxygen - declare parameter as optional
To answer your question: No, there is no such thing.
But I don't share your opinion that there should be something like that. After all, the function declaration will be displayed together with its documentation, so everybody can see that b
is optional and what it's default argument is. And for the \fn
see doxygen's documentation discouraging the use of \fn.