pydocca: constexpr specifier not rendered for variables
anarthal opened this issue · comments
Anarthal (Rubén Pérez) commented
With a definition like the following:
/// My struct
struct my_struct {
/// My constant
static inline constexpr int value = 42;
};
The quickbook template misses the constexpr
specifier (actually, the inline
one too, but that's not as important).
It looks like the problem is within these lines, which should be considering the constexpr case.
Anarthal (Rubén Pérez) commented
This applies to all types of variables. For instance:
/// The meaning of life
constexpr int life = 42;
Is rendered without the constexpr
specifier.