@@ -1615,6 +1615,16 @@ void ClassDefImpl::writeDetailedDocumentationBody(OutputList &ol) const
16151615 // write type constraints
16161616 writeTypeConstraints (ol,this ,m_typeConstraints);
16171617
1618+ ol.generateDoc (
1619+ docFile (),docLine (),
1620+ this ,
1621+ nullptr , // memberDef
1622+ inlineTemplateArgListToDoc (m_tempArgs), // docStr
1623+ TRUE , // indexWords
1624+ FALSE , // isExample
1625+ QCString (),FALSE ,FALSE ,Config_getBool (MARKDOWN_SUPPORT)
1626+ );
1627+
16181628 // write examples
16191629 if (hasExamples ())
16201630 {
@@ -1633,7 +1643,7 @@ bool ClassDefImpl::hasDetailedDescription() const
16331643 bool repeatBrief = Config_getBool (REPEAT_BRIEF);
16341644 bool sourceBrowser = Config_getBool (SOURCE_BROWSER);
16351645 return ((!briefDescription ().isEmpty () && repeatBrief) ||
1636- !documentation ().isEmpty () ||
1646+ ( !documentation ().isEmpty () || m_tempArgs. hasTemplateDocumentation () ) ||
16371647 (sourceBrowser && getStartBodyLine ()!=-1 && getBodyDef ()));
16381648}
16391649
@@ -3556,15 +3566,15 @@ bool ClassDefImpl::isLinkableInProject() const
35563566 // !isAnonymous(),
35573567 // m_prot,
35583568 // !m_isLocal || extractLocal,
3559- // hasDocumentation() || !hideUndoc,
3569+ // hasDocumentation() || m_tempArgs.hasTemplateDocumentation() || !hideUndoc,
35603570 // !m_isStatic || extractStatic,
35613571 // !isReference());
35623572 return
35633573 !isArtificial () && !isHidden () && /* not hidden */
35643574 !isAnonymous () && /* not anonymous */
35653575 protectionLevelVisible (m_prot) && /* private/internal */
35663576 (!m_isLocal || extractLocal) && /* local */
3567- (hasDocumentation () || !hideUndoc) && /* documented */
3577+ (hasDocumentation () || m_tempArgs. hasTemplateDocumentation () || !hideUndoc) && /* documented */
35683578 (!m_isStatic || extractStatic) && /* static */
35693579 !isReference (); /* not an external reference */
35703580 }
0 commit comments