The same doesn't occur when the operator isn'tconstexpr, e.g.:
I'm not sure if it also occurs with regular, non-operator functions, since the toml++ codebase only uses friend in this way for operators, but given that the doxygen XML doesn't appear to discriminate between them in any special way I suspect it would occur for regular friend functions, too.
Hola,
Found this during my investigations into this issue. If you have a 'hidden friend' operator implementation that is also constexpr, e.g.:
the
friend
keyword leaks into the type, e.g.:The same doesn't occur when the operator isn't
constexpr
, e.g.:I'm not sure if it also occurs with regular, non-operator functions, since the toml++ codebase only uses
friend
in this way for operators, but given that the doxygen XML doesn't appear to discriminate between them in any special way I suspect it would occur for regularfriend
functions, too.Here's the XML for this particular example: structtoml_1_1date.xml.txt
This was generated by Doxyen 1.9.2 and m.css @ 6f5c7d5 (current at time of writing).