cppalliance / mrdocs

MrDocs: A Clang/LLVM tool for building reference documentation from C++ code and javadoc comments.
https://mrdocs.com
Other
66 stars 16 forks source link

Create overload page for specializations #602

Open sdkrystian opened 1 month ago

alandefreitas commented 1 month ago

I don't know if it's just about the terminology or if it affects the output, but there are no specialization overloads in C++. There's the main template and then the specializations. The main page is dedicated to the main template, with the content from its doc comments, and it contains links to other pages for its specializations. Unfortunately, there's no example of that with Doxygen+Docca because that's a feature Doxygen doesn't support. It's another C++ construct we emulate that with macros. However, for instance, see std::vector and std::formatter in cppreference.