@@ -230,6 +230,8 @@ visibility statement (``public``, ``private`` or ``protected``).
230230 This will render as follows:
231231
232232 .. cpp :concept :: template <typename It> std::Iterator
233+ :no-contents-entry:
234+ :no-index-entry:
233235
234236 Proxy to an element of a notional sequence that can be compared,
235237 indirected, or incremented.
@@ -623,11 +625,21 @@ As example, consider the following class declaration:
623625
624626.. cpp :namespace-push :: overload_example
625627.. cpp :class :: C
628+ :no-contents-entry:
629+ :no-index-entry:
626630
627631 .. cpp :function :: void f (double d) const
632+ :no-contents-entry:
633+ :no-index-entry:
628634 .. cpp :function :: void f (double d)
635+ :no-contents-entry:
636+ :no-index-entry:
629637 .. cpp :function :: void f (int i)
638+ :no-contents-entry:
639+ :no-index-entry:
630640 .. cpp :function :: void f ()
641+ :no-contents-entry:
642+ :no-index-entry:
631643
632644References using the :rst:role: `cpp:func ` role:
633645
@@ -651,12 +663,18 @@ Templated declarations
651663Assume the following declarations.
652664
653665.. cpp :class :: Wrapper
666+ :no-contents-entry:
667+ :no-index-entry:
654668
655669 .. cpp :class :: template <typename TOuter> \
656670 Outer
671+ :no-contents-entry:
672+ :no-index-entry:
657673
658674 .. cpp :class :: template <typename TInner> \
659675 Inner
676+ :no-contents-entry:
677+ :no-index-entry:
660678
661679In general the reference must include the template parameter declarations,
662680and template arguments for the prefix of qualified names. For example:
@@ -689,18 +707,28 @@ Assume the following declarations.
689707
690708.. cpp :class :: template <typename TOuter> \
691709 Outer
710+ :no-contents-entry:
711+ :no-index-entry:
692712
693- .. cpp :class :: template <typename TInner> \
694- Inner
713+ .. cpp :class :: template <typename TInner> \
714+ Inner
715+ :no-contents-entry:
716+ :no-index-entry:
695717
696718.. cpp :class :: template <> \
697719 Outer<int >
720+ :no-contents-entry:
721+ :no-index-entry:
698722
699- .. cpp :class :: template <typename TInner> \
700- Inner
723+ .. cpp :class :: template <typename TInner> \
724+ Inner
725+ :no-contents-entry:
726+ :no-index-entry:
701727
702- .. cpp :class :: template <> \
703- Inner<bool >
728+ .. cpp :class :: template <> \
729+ Inner<bool >
730+ :no-contents-entry:
731+ :no-index-entry:
704732
705733In general the reference must include a template parameter list for each
706734template argument list. The full specialisation above can therefore be
@@ -718,6 +746,8 @@ Assume the following declaration.
718746
719747.. cpp :class :: template <typename T> \
720748 Outer<T*>
749+ :no-contents-entry:
750+ :no-index-entry:
721751
722752References to partial specialisations must always include the template
723753parameter lists, e.g., ``template\<typename T> Outer\<T*> ``
0 commit comments