I know Mrdocs supports documentation at the end of the line in a very limited way (enums).
And I know it is mostly driven by LLVM limitations, but I wanted to state the need for this feature:
In order of priority (I don't think any of this is supported currently):
- document typedef members, e.g.
template<class T> struct A {
typedef T value_type; //< document this
using value_type = T; //< document ths
}
- document member variables
template<class T> class A {
int size //< document this
}
- document function declarations
template<class T> class A {
int size(); //< document this
}
- document function definitions (useful for short function)
template<class T> class A {
int size() const { return size_; } //< document this
}
I know Mrdocs supports documentation at the end of the line in a very limited way (enums).
And I know it is mostly driven by LLVM limitations, but I wanted to state the need for this feature:
In order of priority (I don't think any of this is supported currently):