I ran into this issue with template function specialization which seems like a bug to me, but maybe I'm just missing something. I have code that looks like this:
classChecker{public:/// Fruit checking template functiontemplate<FruitTypeT>boolCheckFruit(inttype);};/// @brief specialized APPLE checkertemplate<>boolChecker::CheckFruit<APPLE>(inttype){...}/// @brief specialized ORANGE checkertemplate<>boolChecker::CheckFruit<ORANGE>(inttype){...}
I was expecting to see a <memberdef> in the output xml for each of specialization with the specialization value included in the <definition> - something like <definition>bool Checker::CheckFruit<APPLE></definition>, or that the specialization value would be included in the <templateparamlist>. </templateparamlist></definition></memberdef>
Instead, the output does contain a separate entry for each specialization, but the <definition>s are identical (except for the @brief comments), and don't include the specialization value; and the <templateparamlist>s are empty:</templateparamlist></definition>
Hello,
I ran into this issue with template function specialization which seems like a bug to me, but maybe I'm just missing something. I have code that looks like this:
I was expecting to see a <memberdef> in the output xml for each of specialization with the specialization value included in the <definition> - something like <definition>bool Checker::CheckFruit<APPLE></definition>, or that the specialization value would be included in the <templateparamlist>. </templateparamlist></definition></memberdef>
Instead, the output does contain a separate entry for each specialization, but the <definition>s are identical (except for the @brief comments), and don't include the specialization value; and the <templateparamlist>s are empty:</templateparamlist></definition>
Is there a way to get the specialization value to show in the xml?
Thanks,
Joey