diff --git a/share/mrdocs/addons/generator/adoc/partials/markup/code-block.adoc.hbs b/share/mrdocs/addons/generator/adoc/partials/markup/code-block.adoc.hbs index deaae574b5..6037d1a71a 100644 --- a/share/mrdocs/addons/generator/adoc/partials/markup/code-block.adoc.hbs +++ b/share/mrdocs/addons/generator/adoc/partials/markup/code-block.adoc.hbs @@ -1,4 +1,4 @@ -[source,cpp,subs="verbatim,macros,-callouts"] +[source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- {{> @partial-block }} diff --git a/share/mrdocs/addons/generator/adoc/partials/markup/h.adoc.hbs b/share/mrdocs/addons/generator/adoc/partials/markup/h.adoc.hbs index 6134b881e0..3db75e008c 100644 --- a/share/mrdocs/addons/generator/adoc/partials/markup/h.adoc.hbs +++ b/share/mrdocs/addons/generator/adoc/partials/markup/h.adoc.hbs @@ -1,3 +1,3 @@ {{#if id}}[#{{{id}}}] {{/if}} -={{select level (repeat "=" level) (select @root.config.multipage "==" "=")}} {{> @partial-block }} \ No newline at end of file +={{{select level (repeat "=" level) (select @root.config.multipage "==" "=")}}} {{> @partial-block }} \ No newline at end of file diff --git a/share/mrdocs/addons/generator/adoc/partials/symbol.adoc.hbs b/share/mrdocs/addons/generator/adoc/partials/symbol.adoc.hbs index 051251da81..30a35a7149 100644 --- a/share/mrdocs/addons/generator/adoc/partials/symbol.adoc.hbs +++ b/share/mrdocs/addons/generator/adoc/partials/symbol.adoc.hbs @@ -28,6 +28,7 @@ {{>location/source dcl=(primary_location symbol)}} + {{> symbol/signatures symbol }} {{/unless}} {{! Tranches }} diff --git a/share/mrdocs/addons/generator/html/partials/symbol.html.hbs b/share/mrdocs/addons/generator/html/partials/symbol.html.hbs index 93e66ba10c..706b1c67d3 100644 --- a/share/mrdocs/addons/generator/html/partials/symbol.html.hbs +++ b/share/mrdocs/addons/generator/html/partials/symbol.html.hbs @@ -133,7 +133,7 @@ {{#each symbol.doc.exceptions}}
{{exception}}{{exception}}{{.}}
+{{{.}}}
{{/each}}{{.}}
+{{{.}}}
{{/each}}{{.}}
+{{{.}}}
{{/each}}\n");
@@ -88,7 +88,7 @@ operator()(
void
DocVisitor::
operator()(
- doc::Heading const& I)
+ doc::Heading const& I) const
{
fmt::format_to(ins_, "{}
\n", I.string);
}
@@ -97,7 +97,7 @@ operator()(
void
DocVisitor::
operator()(
- doc::Paragraph const& I)
+ doc::Paragraph const& I) const
{
dest_.append("");
for(auto const& it : RangeFor(I.children))
@@ -108,10 +108,13 @@ operator()(
if(! it.last && dest_.size() > n)
{
// wrap past 80 cols
- if(dest_.size() < 80)
+ if (dest_.size() < 80)
+ {
dest_.push_back(' ');
- else
+ } else
+ {
dest_.push_back('\n');
+ }
}
}
dest_.append("
\n\n");
@@ -120,7 +123,33 @@ operator()(
void
DocVisitor::
operator()(
- doc::Link const& I)
+ doc::Brief const& I) const
+{
+ dest_.append("");
+ for(auto const& it : RangeFor(I.children))
+ {
+ auto const n = dest_.size();
+ doc::visit(*it.value, *this);
+ // detect empty text blocks
+ if(! it.last && dest_.size() > n)
+ {
+ // wrap past 80 cols
+ if (dest_.size() < 80)
+ {
+ dest_.push_back(' ');
+ } else
+ {
+ dest_.push_back('\n');
+ }
+ }
+ }
+ dest_.append("");
+}
+
+void
+DocVisitor::
+operator()(
+ doc::Link const& I) const
{
dest_.append("");
for(auto const& it : RangeFor(I.children))
@@ -143,10 +172,13 @@ operator()(
if(! it.last && dest_.size() > n)
{
// wrap past 80 cols
- if(dest_.size() < 80)
+ if (dest_.size() < 80)
+ {
dest_.push_back(' ');
- else
+ } else
+ {
dest_.append("\n");
+ }
}
}
dest_.append("\n");
@@ -154,21 +186,21 @@ operator()(
void
DocVisitor::
-operator()(doc::Param const& I)
+operator()(doc::Param const& I) const
{
- //dest_ += I.string;
+ this->operator()(static_cast(I));
}
void
DocVisitor::
-operator()(doc::Returns const& I)
+operator()(doc::Returns const& I) const
{
- //dest_ += I.string;
+ (*this)(static_cast(I));
}
void
DocVisitor::
-operator()(doc::Text const& I)
+operator()(doc::Text const& I) const
{
std::string_view s = trim(I.string);
fmt::format_to(std::back_inserter(dest_), "{}", s);
@@ -176,7 +208,7 @@ operator()(doc::Text const& I)
void
DocVisitor::
-operator()(doc::Styled const& I)
+operator()(doc::Styled const& I) const
{
std::string_view s = trim(I.string);
switch(I.style)
@@ -200,25 +232,29 @@ operator()(doc::Styled const& I)
void
DocVisitor::
-operator()(doc::TParam const& I)
+operator()(doc::TParam const& I) const
{
- //dest_ += I.string;
+ this->operator()(static_cast(I));
}
void
DocVisitor::
-operator()(doc::Reference const& I)
+operator()(doc::Reference const& I) const
{
- if(I.id == SymbolID::invalid)
- return (*this)(static_cast(I));
+ if (I.id == SymbolID::invalid)
+ {
+ return (*this)(static_cast(I));
+ }
+ // AFREITAS: Unlike Adoc, we need relative URLs for HTML
fmt::format_to(std::back_inserter(dest_), "{}",
corpus_.getURL(corpus_->get(I.id)), I.string);
}
void
DocVisitor::
-operator()(doc::Throws const& I)
+operator()(doc::Throws const& I) const
{
+ this->operator()(static_cast(I));
}
std::size_t
@@ -227,16 +263,22 @@ measureLeftMargin(
doc::List const& list)
{
if(list.empty())
+ {
return 0;
- std::size_t n = std::size_t(-1);
+ }
+ auto n = static_cast(-1);
for(auto& text : list)
{
- if(trim(text->string).empty())
+ if (trim(text->string).empty())
+ {
continue;
+ }
auto const space =
text->string.size() - ltrim(text->string).size();
- if( n > space)
+ if (n > space)
+ {
n = space;
+ }
}
return n;
}
diff --git a/src/lib/Gen/html/DocVisitor.hpp b/src/lib/Gen/html/DocVisitor.hpp
index 53f0038e3c..8f7548b468 100644
--- a/src/lib/Gen/html/DocVisitor.hpp
+++ b/src/lib/Gen/html/DocVisitor.hpp
@@ -30,7 +30,7 @@ class DocVisitor
bool
write(
const doc::Node& node,
- Fn&& fn)
+ Fn&& fn) const
{
const auto n_before = dest_.size();
doc::visit(node, std::forward(fn));
@@ -47,22 +47,51 @@ class DocVisitor
{
}
- void operator()(doc::Admonition const& I);
- void operator()(doc::Code const& I);
- void operator()(doc::Heading const& I);
- void operator()(doc::Paragraph const& I);
- void operator()(doc::Link const& I);
- void operator()(doc::ListItem const& I);
- void operator()(doc::Param const& I);
- void operator()(doc::Returns const& I);
- void operator()(doc::Text const& I);
- void operator()(doc::Styled const& I);
- void operator()(doc::TParam const& I);
- void operator()(doc::Reference const& I);
- void operator()(doc::Throws const& I);
-
- std::size_t measureLeftMargin(
- doc::List const& list);
+ void
+ operator()(doc::Admonition const& I) const;
+
+ void
+ operator()(doc::Code const& I) const;
+
+ void
+ operator()(doc::Heading const& I) const;
+
+ void
+ operator()(doc::Paragraph const& I) const;
+
+ void
+ operator()(doc::Brief const& I) const;
+
+ void
+ operator()(doc::Link const& I) const;
+
+ void
+ operator()(doc::ListItem const& I) const;
+
+ void
+ operator()(doc::Param const& I) const;
+
+ void
+ operator()(doc::Returns const& I) const;
+
+ void
+ operator()(doc::Text const& I) const;
+
+ void
+ operator()(doc::Styled const& I) const;
+
+ void
+ operator()(doc::TParam const& I) const;
+
+ void
+ operator()(doc::Reference const& I) const;
+
+ void
+ operator()(doc::Throws const& I) const;
+
+ static
+ std::size_t
+ measureLeftMargin(doc::List const& list);
};
} // html
diff --git a/src/test/TestRunner.cpp b/src/test/TestRunner.cpp
index 70c2b3ccb5..de4d86c9c5 100644
--- a/src/test/TestRunner.cpp
+++ b/src/test/TestRunner.cpp
@@ -174,8 +174,17 @@ handleFile(
testArgs.action == Action::test ||
testArgs.action == Action::create)
{
+ std::string_view filePathSv = filePath;
+ if (filePathSv.starts_with(dirs_.cwd))
+ {
+ filePathSv.remove_prefix(dirs_.cwd.size());
+ if (filePathSv.starts_with("\\") || filePathSv.starts_with("/"))
+ {
+ filePathSv.remove_prefix(1);
+ }
+ }
report::error("{}: \"{}\"",
- Error("Incorrect results"), filePath);
+ Error("Incorrect results"), filePathSv);
auto res = test_suite::diffStrings(expectedDocs, generatedDocs);
report::error("{} lines added", res.added);
report::error("{} lines removed", res.removed);
diff --git a/test-files/golden-tests/alias-template.adoc b/test-files/golden-tests/alias-template.adoc
index 2044cfb3ba..eabc400df1 100644
--- a/test-files/golden-tests/alias-template.adoc
+++ b/test-files/golden-tests/alias-template.adoc
@@ -28,10 +28,11 @@
=== Synopsis
-Declared in ``
-[source,cpp,subs="verbatim,macros,-callouts"]
+Declared in `<alias‐template.cpp>`
+
+[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
-template
+template<typename T>
struct A;
----
@@ -43,12 +44,13 @@ struct A;
=== Synopsis
-Declared in ``
-[source,cpp,subs="verbatim,macros,-callouts"]
+Declared in `<alias‐template.cpp>`
+
+[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
-template<
+template<
typename T,
- typename U>
+ typename U>
struct B;
----
@@ -60,11 +62,12 @@ struct B;
=== Synopsis
-Declared in ``
-[source,cpp,subs="verbatim,macros,-callouts"]
+Declared in `<alias‐template.cpp>`
+
+[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
-template
-using C = <<#A,A>>;
+template<typename T>
+using C = <<#A,A>><T>;
----
[#D]
@@ -72,10 +75,11 @@ using C = <<#A,A>>;
=== Synopsis
-Declared in ``
-[source,cpp,subs="verbatim,macros,-callouts"]
+Declared in `<alias‐template.cpp>`
+
+[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
-template
+template<typename T>
struct D;
----
@@ -96,11 +100,12 @@ struct D;
=== Synopsis
-Declared in ``
-[source,cpp,subs="verbatim,macros,-callouts"]
+Declared in `<alias‐template.cpp>`
+
+[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
-template
-using E = <<#B,B>>;
+template<typename U>
+using E = <<#B,B>><T, U>;
----
diff --git a/test-files/golden-tests/attributes_1.adoc b/test-files/golden-tests/attributes_1.adoc
index f426ba2472..cbde39dd0c 100644
--- a/test-files/golden-tests/attributes_1.adoc
+++ b/test-files/golden-tests/attributes_1.adoc
@@ -19,8 +19,9 @@
=== Synopsis
-Declared in ``
-[source,cpp,subs="verbatim,macros,-callouts"]
+Declared in `<attributes_1.cpp>`
+
+[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
bool
f();
diff --git a/test-files/golden-tests/brief-1.adoc b/test-files/golden-tests/brief-1.adoc
index 9f30b46300..fde4a53889 100644
--- a/test-files/golden-tests/brief-1.adoc
+++ b/test-files/golden-tests/brief-1.adoc
@@ -10,16 +10,16 @@
| Name | Description
| <<#f5,`f5`>>
-|
-brief
+| brief
*bold*
it
-continues to the line.
+continues to the line.
+
| <<#f6,`f6`>>
-|
-brief
+| brief
+
|===
@@ -27,17 +27,18 @@ brief
[#f5]
== f5
-
brief
*bold*
it
-continues to the line.
+continues to the line.
+
=== Synopsis
-Declared in ``
-[source,cpp,subs="verbatim,macros,-callouts"]
+Declared in `<brief‐1.cpp>`
+
+[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
void
f5();
@@ -46,14 +47,15 @@ f5();
[#f6]
== f6
-
brief
+
=== Synopsis
-Declared in ``
-[source,cpp,subs="verbatim,macros,-callouts"]
+Declared in `<brief‐1.cpp>`
+
+[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
void
f6();
@@ -61,7 +63,6 @@ f6();
=== Description
-
many lined
*bold*
what will
@@ -70,4 +71,5 @@ happen?
+
[.small]#Created with https://www.mrdocs.com[MrDocs]#
diff --git a/test-files/golden-tests/brief-2.adoc b/test-files/golden-tests/brief-2.adoc
index de7c3c3f1a..d2ad5e1043 100644
--- a/test-files/golden-tests/brief-2.adoc
+++ b/test-files/golden-tests/brief-2.adoc
@@ -10,50 +10,51 @@
| Name | Description
| <<#f1,`f1`>>
-|
-brief
+| brief
+
| <<#f2,`f2`>>
-|
-brief
+| brief
+
| <<#f3,`f3`>>
-|
-brief
+| brief
+
| <<#f4,`f4`>>
-|
-brief x
+| brief x
+
| <<#f5,`f5`>>
-|
-br
+| br
ief
+
| <<#f6,`f6`>>
-|
-br
+| br
ief
+
|===
[#f1]
== f1
-
brief
+
=== Synopsis
-Declared in ``
-[source,cpp,subs="verbatim,macros,-callouts"]
+Declared in `<brief‐2.cpp>`
+
+[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
void
f1();
@@ -62,14 +63,15 @@ f1();
[#f2]
== f2
-
brief
+
=== Synopsis
-Declared in ``
-[source,cpp,subs="verbatim,macros,-callouts"]
+Declared in `<brief‐2.cpp>`
+
+[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
void
f2();
@@ -78,14 +80,15 @@ f2();
[#f3]
== f3
-
brief
+
=== Synopsis
-Declared in ``
-[source,cpp,subs="verbatim,macros,-callouts"]
+Declared in `<brief‐2.cpp>`
+
+[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
void
f3();
@@ -94,14 +97,15 @@ f3();
[#f4]
== f4
-
brief x
+
=== Synopsis
-Declared in ``
-[source,cpp,subs="verbatim,macros,-callouts"]
+Declared in `<brief‐2.cpp>`
+
+[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
void
f4();
@@ -109,23 +113,24 @@ f4();
=== Description
-
br
ief
+
[#f5]
== f5
-
br
ief
+
=== Synopsis
-Declared in ``
-[source,cpp,subs="verbatim,macros,-callouts"]
+Declared in `<brief‐2.cpp>`
+
+[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
void
f5();
@@ -134,15 +139,16 @@ f5();
[#f6]
== f6
-
br
ief
+
=== Synopsis
-Declared in ``
-[source,cpp,subs="verbatim,macros,-callouts"]
+Declared in `<brief‐2.cpp>`
+
+[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
void
f6();
@@ -150,10 +156,10 @@ f6();
=== Description
-
desc
+
[.small]#Created with https://www.mrdocs.com[MrDocs]#
diff --git a/test-files/golden-tests/canonical_1.adoc b/test-files/golden-tests/canonical_1.adoc
index eb6066de2c..921ee291c3 100644
--- a/test-files/golden-tests/canonical_1.adoc
+++ b/test-files/golden-tests/canonical_1.adoc
@@ -40,8 +40,9 @@
=== Synopsis
-Declared in ``
-[source,cpp,subs="verbatim,macros,-callouts"]
+Declared in `<canonical_1.cpp>`
+
+[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
struct B;
----
@@ -54,8 +55,9 @@ struct B;
=== Synopsis
-Declared in ``
-[source,cpp,subs="verbatim,macros,-callouts"]
+Declared in `<canonical_1.cpp>`
+
+[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
struct b;
----
@@ -68,8 +70,9 @@ struct b;
=== Synopsis
-Declared in ``
-[source,cpp,subs="verbatim,macros,-callouts"]
+Declared in `<canonical_1.cpp>`
+
+[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
struct A;
----
@@ -82,8 +85,9 @@ struct A;
=== Synopsis
-Declared in ``
-[source,cpp,subs="verbatim,macros,-callouts"]
+Declared in `<canonical_1.cpp>`
+
+[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
struct a;
----
@@ -96,8 +100,9 @@ struct a;
=== Synopsis
-Declared in ``
-[source,cpp,subs="verbatim,macros,-callouts"]
+Declared in `<canonical_1.cpp>`
+
+[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
struct Ba;
----
@@ -110,8 +115,9 @@ struct Ba;
=== Synopsis
-Declared in ``
-[source,cpp,subs="verbatim,macros,-callouts"]
+Declared in `<canonical_1.cpp>`
+
+[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
struct bA;
----
@@ -124,8 +130,9 @@ struct bA;
=== Synopsis
-Declared in ``
-[source,cpp,subs="verbatim,macros,-callouts"]
+Declared in `<canonical_1.cpp>`
+
+[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
struct Bx;
----
@@ -138,8 +145,9 @@ struct Bx;
=== Synopsis
-Declared in ``
-[source,cpp,subs="verbatim,macros,-callouts"]
+Declared in `<canonical_1.cpp>`
+
+[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
struct ba;
----
diff --git a/test-files/golden-tests/class-template-partial-spec.adoc b/test-files/golden-tests/class-template-partial-spec.adoc
index 84f90aaff4..f15821ea99 100644
--- a/test-files/golden-tests/class-template-partial-spec.adoc
+++ b/test-files/golden-tests/class-template-partial-spec.adoc
@@ -19,10 +19,11 @@
=== Synopsis
-Declared in ``
-[source,cpp,subs="verbatim,macros,-callouts"]
+Declared in `<class‐template‐partial‐spec.cpp>`
+
+[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
-template
+template<typename T>
struct A;
----
@@ -34,10 +35,10 @@ struct A;
| <<#A-B-0a,`B`>>
|
-| <<#A-B-06,`B`>>
+| <<#A-B-06,`B<U*, T>`>>
|
-| <<#A-B-04,`B`>>
+| <<#A-B-04,`B<T, long>`>>
|
|===
@@ -49,12 +50,13 @@ struct A;
=== Synopsis
-Declared in ``
-[source,cpp,subs="verbatim,macros,-callouts"]
+Declared in `<class‐template‐partial‐spec.cpp>`
+
+[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
-template<
+template<
typename U,
- typename V>
+ typename V>
struct B;
----
@@ -62,30 +64,32 @@ struct B;
[#A-B-06]
-== <<#A,A>>::B
+== <<#A,A>>::B<U*, T>
=== Synopsis
-Declared in ``
-[source,cpp,subs="verbatim,macros,-callouts"]
+Declared in `<class‐template‐partial‐spec.cpp>`
+
+[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
-template
-struct <<#A-B-0a,B>>;
+template<typename U>
+struct <<#A-B-0a,B>><U*, T>;
----
[#A-B-04]
-== <<#A,A>>::B
+== <<#A,A>>::B<T, long>
=== Synopsis
-Declared in ``
-[source,cpp,subs="verbatim,macros,-callouts"]
+Declared in `<class‐template‐partial‐spec.cpp>`
+
+[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
-template<>
-struct <<#A-B-0a,B>>;
+template<>
+struct <<#A-B-0a,B>><T, long>;
----
diff --git a/test-files/golden-tests/class-template-spec.adoc b/test-files/golden-tests/class-template-spec.adoc
index 1380937d28..95dbf7e86e 100644
--- a/test-files/golden-tests/class-template-spec.adoc
+++ b/test-files/golden-tests/class-template-spec.adoc
@@ -12,28 +12,28 @@
| <<#A-0e,`A`>>
|
-| <<#A-00,`A`>>
+| <<#A-00,`A<int>`>>
|
-| <<#A-0c,`A`>>
+| <<#A-0c,`A<long>`>>
|
| <<#B-00,`B`>>
|
-| <<#B-07,`B`>>
+| <<#B-07,`B<T*>`>>
|
-| <<#B-06,`B`>>
+| <<#B-06,`B<T&>`>>
|
| <<#C-0f,`C`>>
|
-| <<#C-0a,`C`>>
+| <<#C-0a,`C<int, int>`>>
|
-| <<#C-0e,`C`>>
+| <<#C-0e,`C<T*, int>`>>
|
|===
@@ -43,10 +43,11 @@
=== Synopsis
-Declared in ``
-[source,cpp,subs="verbatim,macros,-callouts"]
+Declared in `<class‐template‐spec.cpp>`
+
+[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
-template
+template<typename T>
struct A;
----
@@ -67,23 +68,25 @@ struct A;
=== Synopsis
-Declared in ``
-[source,cpp,subs="verbatim,macros,-callouts"]
+Declared in `<class‐template‐spec.cpp>`
+
+[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
void
f();
----
[#A-00]
-== A
+== A<int>
=== Synopsis
-Declared in ``
-[source,cpp,subs="verbatim,macros,-callouts"]
+Declared in `<class‐template‐spec.cpp>`
+
+[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
-template<>
-struct <<#A-0e,A>>;
+template<>
+struct <<#A-0e,A>><int>;
----
=== Member Functions
@@ -99,27 +102,29 @@ struct <<#A-0e,A>>;
[#A-00-g]
-== <<#A-00,A>>::g
+== <<#A-00,A>><int>::g
=== Synopsis
-Declared in ``
-[source,cpp,subs="verbatim,macros,-callouts"]
+Declared in `<class‐template‐spec.cpp>`
+
+[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
void
g();
----
[#A-0c]
-== A
+== A<long>
=== Synopsis
-Declared in ``
-[source,cpp,subs="verbatim,macros,-callouts"]
+Declared in `<class‐template‐spec.cpp>`
+
+[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
-template<>
-struct <<#A-0e,A>>;
+template<>
+struct <<#A-0e,A>><long>;
----
=== Member Functions
@@ -135,12 +140,13 @@ struct <<#A-0e,A>>;
[#A-0c-h]
-== <<#A-0c,A>>::h
+== <<#A-0c,A>><long>::h
=== Synopsis
-Declared in ``
-[source,cpp,subs="verbatim,macros,-callouts"]
+Declared in `<class‐template‐spec.cpp>`
+
+[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
void
h();
@@ -151,10 +157,11 @@ h();
=== Synopsis
-Declared in ``
-[source,cpp,subs="verbatim,macros,-callouts"]
+Declared in `<class‐template‐spec.cpp>`
+
+[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
-template
+template<typename T>
struct B;
----
@@ -175,23 +182,25 @@ struct B;
=== Synopsis
-Declared in ``
-[source,cpp,subs="verbatim,macros,-callouts"]
+Declared in `<class‐template‐spec.cpp>`
+
+[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
void
f();
----
[#B-07]
-== B
+== B<T*>
=== Synopsis
-Declared in ``
-[source,cpp,subs="verbatim,macros,-callouts"]
+Declared in `<class‐template‐spec.cpp>`
+
+[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
-template
-struct <<#B-00,B>>;
+template<typename T>
+struct <<#B-00,B>><T*>;
----
=== Member Functions
@@ -207,27 +216,29 @@ struct <<#B-00,B>>;
[#B-07-g]
-== <<#B-07,B>>::g
+== <<#B-07,B>><T*>::g
=== Synopsis
-Declared in ``
-[source,cpp,subs="verbatim,macros,-callouts"]
+Declared in `<class‐template‐spec.cpp>`
+
+[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
void
g();
----
[#B-06]
-== B
+== B<T&>
=== Synopsis
-Declared in ``
-[source,cpp,subs="verbatim,macros,-callouts"]
+Declared in `<class‐template‐spec.cpp>`
+
+[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
-template
-struct <<#B-00,B>>;
+template<typename T>
+struct <<#B-00,B>><T&>;
----
=== Member Functions
@@ -243,12 +254,13 @@ struct <<#B-00,B>>;
[#B-06-h]
-== <<#B-06,B>>::h
+== <<#B-06,B>><T&>::h
=== Synopsis
-Declared in ``
-[source,cpp,subs="verbatim,macros,-callouts"]
+Declared in `<class‐template‐spec.cpp>`
+
+[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
void
h();
@@ -259,12 +271,13 @@ h();
=== Synopsis
-Declared in ``
-[source,cpp,subs="verbatim,macros,-callouts"]
+Declared in `<class‐template‐spec.cpp>`
+
+[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
-template<
+template<
typename T,
- typename U>
+ typename U>
struct C;
----
@@ -285,23 +298,25 @@ struct C;
=== Synopsis
-Declared in ``
-[source,cpp,subs="verbatim,macros,-callouts"]
+Declared in `<class‐template‐spec.cpp>`
+
+[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
void
f();
----
[#C-0a]
-== C
+== C<int, int>
=== Synopsis
-Declared in ``
-[source,cpp,subs="verbatim,macros,-callouts"]
+Declared in `<class‐template‐spec.cpp>`
+
+[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
-template<>
-struct <<#C-0f,C>>;
+template<>
+struct <<#C-0f,C>><int, int>;
----
=== Member Functions
@@ -317,27 +332,29 @@ struct <<#C-0f,C>>;
[#C-0a-g]
-== <<#C-0a,C>>::g
+== <<#C-0a,C>><int, int>::g
=== Synopsis
-Declared in ``
-[source,cpp,subs="verbatim,macros,-callouts"]
+Declared in `<class‐template‐spec.cpp>`
+
+[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
void
g();
----
[#C-0e]
-== C
+== C<T*, int>
=== Synopsis
-Declared in ``
-[source,cpp,subs="verbatim,macros,-callouts"]
+Declared in `<class‐template‐spec.cpp>`
+
+[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
-template
-struct <<#C-0f,C>>;
+template<typename T>
+struct <<#C-0f,C>><T*, int>;
----
=== Member Functions
@@ -353,12 +370,13 @@ struct <<#C-0f,C>>;
[#C-0e-h]
-== <<#C-0e,C>>::h
+== <<#C-0e,C>><T*, int>::h
=== Synopsis
-Declared in ``
-[source,cpp,subs="verbatim,macros,-callouts"]
+Declared in `<class‐template‐spec.cpp>`
+
+[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
void
h();
diff --git a/test-files/golden-tests/class-template-specializations-1.adoc b/test-files/golden-tests/class-template-specializations-1.adoc
index 9998e00da4..502e3afa86 100644
--- a/test-files/golden-tests/class-template-specializations-1.adoc
+++ b/test-files/golden-tests/class-template-specializations-1.adoc
@@ -156,13 +156,13 @@
| <<#R9,`R9`>>
|
-| <<#S0-02,`S0<1, int*>`>>
+| <<#S0-02,`S0<1, int*>`>>
|
-| <<#S0-0c4,`S0<1, T*>`>>
+| <<#S0-0c4,`S0<1, T*>`>>
|
-| <<#S0-0be,`S0<0>`>>
+| <<#S0-0be,`S0<0>`>>
|
| <<#S0-0cf,`S0`>>
@@ -175,12 +175,13 @@
=== Synopsis
-Declared in ``
-[source,cpp,subs="verbatim,macros,-callouts"]
+Declared in `<class‐template‐specializations‐1.cpp>`
+
+[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
-template<
+template<
int I,
- typename T = void>
+ typename T = void>
struct S0;
----
@@ -213,8 +214,9 @@ struct S0;
=== Synopsis
-Declared in ``
-[source,cpp,subs="verbatim,macros,-callouts"]
+Declared in `<class‐template‐specializations‐1.cpp>`
+
+[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
void
f0();
@@ -225,8 +227,9 @@ f0();
=== Synopsis
-Declared in ``
-[source,cpp,subs="verbatim,macros,-callouts"]
+Declared in `<class‐template‐specializations‐1.cpp>`
+
+[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
struct S1;
----
@@ -257,8 +260,9 @@ struct S1;
=== Synopsis
-Declared in ``
-[source,cpp,subs="verbatim,macros,-callouts"]
+Declared in `<class‐template‐specializations‐1.cpp>`
+
+[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
void
f1();
@@ -269,12 +273,13 @@ f1();
=== Synopsis
-Declared in ``
-[source,cpp,subs="verbatim,macros,-callouts"]
+Declared in `<class‐template‐specializations‐1.cpp>`
+
+[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
-template<
+template<
int J,
- typename U = void>
+ typename U = void>
struct S2;
----
@@ -307,8 +312,9 @@ struct S2;
=== Synopsis
-Declared in ``
-[source,cpp,subs="verbatim,macros,-callouts"]
+Declared in `<class‐template‐specializations‐1.cpp>`
+
+[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
void
f2();
@@ -319,8 +325,9 @@ f2();
=== Synopsis
-Declared in ``
-[source,cpp,subs="verbatim,macros,-callouts"]
+Declared in `<class‐template‐specializations‐1.cpp>`
+
+[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
struct S3;
----
@@ -342,8 +349,9 @@ struct S3;
=== Synopsis
-Declared in ``
-[source,cpp,subs="verbatim,macros,-callouts"]
+Declared in `<class‐template‐specializations‐1.cpp>`
+
+[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
void
f3();
@@ -354,12 +362,13 @@ f3();
=== Synopsis
-Declared in ``
-[source,cpp,subs="verbatim,macros,-callouts"]
+Declared in `<class‐template‐specializations‐1.cpp>`
+
+[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
-template<
+template<
int K,
- typename V = void>
+ typename V = void>
struct S4;
----
@@ -380,8 +389,9 @@ struct S4;
=== Synopsis
-Declared in ``
-[source,cpp,subs="verbatim,macros,-callouts"]
+Declared in `<class‐template‐specializations‐1.cpp>`
+
+[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
void
f4();
@@ -392,12 +402,13 @@ f4();
=== Synopsis
-Declared in ``
-[source,cpp,subs="verbatim,macros,-callouts"]
+Declared in `<class‐template‐specializations‐1.cpp>`
+
+[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
-template<
+template<
int J,
- typename U = void>
+ typename U = void>
struct S5;
----
@@ -427,8 +438,9 @@ struct S5;
=== Synopsis
-Declared in ``
-[source,cpp,subs="verbatim,macros,-callouts"]
+Declared in `<class‐template‐specializations‐1.cpp>`
+
+[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
void
f5();
@@ -439,8 +451,9 @@ f5();
=== Synopsis
-Declared in ``
-[source,cpp,subs="verbatim,macros,-callouts"]
+Declared in `<class‐template‐specializations‐1.cpp>`
+
+[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
struct S6;
----
@@ -471,8 +484,9 @@ struct S6;
=== Synopsis
-Declared in ``
-[source,cpp,subs="verbatim,macros,-callouts"]
+Declared in `<class‐template‐specializations‐1.cpp>`
+
+[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
void
f6();
@@ -483,12 +497,13 @@ f6();
=== Synopsis
-Declared in ``
-[source,cpp,subs="verbatim,macros,-callouts"]
+Declared in `<class‐template‐specializations‐1.cpp>`
+
+[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
-template<
+template<
int K,
- typename V = void>
+ typename V = void>
struct S7;
----
@@ -521,8 +536,9 @@ struct S7;
=== Synopsis
-Declared in ``
-[source,cpp,subs="verbatim,macros,-callouts"]
+Declared in `<class‐template‐specializations‐1.cpp>`
+
+[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
void
f7();
@@ -533,8 +549,9 @@ f7();
=== Synopsis
-Declared in ``
-[source,cpp,subs="verbatim,macros,-callouts"]
+Declared in `<class‐template‐specializations‐1.cpp>`
+
+[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
struct S8;
----
@@ -556,8 +573,9 @@ struct S8;
=== Synopsis
-Declared in ``
-[source,cpp,subs="verbatim,macros,-callouts"]
+Declared in `<class‐template‐specializations‐1.cpp>`
+
+[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
void
f8();
@@ -568,12 +586,13 @@ f8();
=== Synopsis
-Declared in ``
-[source,cpp,subs="verbatim,macros,-callouts"]
+Declared in `<class‐template‐specializations‐1.cpp>`
+
+[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
-template<
+template<
int L,
- typename W = void>
+ typename W = void>
struct S9;
----
@@ -594,53 +613,57 @@ struct S9;
=== Synopsis
-Declared in ``
-[source,cpp,subs="verbatim,macros,-callouts"]
+Declared in `<class‐template‐specializations‐1.cpp>`
+
+[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
void
f9();
----
[#S0-0be]
-== S0<0>
+== S0<0>
=== Synopsis
-Declared in ``
-[source,cpp,subs="verbatim,macros,-callouts"]
+Declared in `<class‐template‐specializations‐1.cpp>`
+
+[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
-template<>
-struct <<#S0-0cf,S0>><0>;
+template<>
+struct <<#S0-0cf,S0>><0>;
----
[#S0-0c4]
-== S0<1, T*>
+== S0<1, T*>
=== Synopsis
-Declared in ``
-[source,cpp,subs="verbatim,macros,-callouts"]
+Declared in `<class‐template‐specializations‐1.cpp>`
+
+[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
-template
-struct <<#S0-0cf,S0>><1, T*>;
+template<typename T>
+struct <<#S0-0cf,S0>><1, T*>;
----
[#S0-02]
-== S0<1, int*>
+== S0<1, int*>
=== Synopsis
-Declared in ``
-[source,cpp,subs="verbatim,macros,-callouts"]
+Declared in `<class‐template‐specializations‐1.cpp>`
+
+[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
-template<>
-struct <<#S0-0cf,S0>><1, int*>;
+template<>
+struct <<#S0-0cf,S0>><1, int*>;
----
@@ -651,11 +674,12 @@ struct <<#S0-0cf,S0>><1, int*>;
=== Synopsis
-Declared in ``
-[source,cpp,subs="verbatim,macros,-callouts"]
+Declared in `<class‐template‐specializations‐1.cpp>`
+
+[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
struct R0
- : <<#S0-0cf,S0>>;
+ : <<#S0-0cf,S0>><‐1>;
----
=== Types
@@ -687,11 +711,12 @@ struct R0
=== Synopsis
-Declared in ``
-[source,cpp,subs="verbatim,macros,-callouts"]
+Declared in `<class‐template‐specializations‐1.cpp>`
+
+[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
struct R1
- : <<#S0-0be,S0>><0>;
+ : <<#S0-0be,S0>><0>;
----
@@ -702,11 +727,12 @@ struct R1
=== Synopsis
-Declared in ``
-[source,cpp,subs="verbatim,macros,-callouts"]
+Declared in `<class‐template‐specializations‐1.cpp>`
+
+[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
struct R2
- : <<#S0-0c4,S0>><1, void*>;
+ : <<#S0-0c4,S0>><1, void*>;
----
@@ -717,11 +743,12 @@ struct R2
=== Synopsis
-Declared in ``
-[source,cpp,subs="verbatim,macros,-callouts"]
+Declared in `<class‐template‐specializations‐1.cpp>`
+
+[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
struct R3
- : <<#S0-02,S0>><1, int*>;
+ : <<#S0-02,S0>><1, int*>;
----
@@ -732,11 +759,12 @@ struct R3
=== Synopsis
-Declared in ``
-[source,cpp,subs="verbatim,macros,-callouts"]
+Declared in `<class‐template‐specializations‐1.cpp>`
+
+[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
struct R4
- : <<#S0-0cf,S0>><2>::<<#S0-09c-S1,S1>>;
+ : <<#S0-0cf,S0>><2>::<<#S0-09c-S1,S1>>;
----
@@ -747,11 +775,12 @@ struct R4
=== Synopsis
-Declared in ``
-[source,cpp,subs="verbatim,macros,-callouts"]
+Declared in `<class‐template‐specializations‐1.cpp>`
+
+[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
struct R5
- : <<#S0-0cf,S0>><3>::<<#S0-0cf-S1,S1>>::<<#S0-073-S1-S2,S2>>;
+ : <<#S0-0cf,S0>><3>::<<#S0-0cf-S1,S1>>::<<#S0-073-S1-S2,S2>><‐1>;
----
@@ -762,11 +791,12 @@ struct R5
=== Synopsis
-Declared in ``
-[source,cpp,subs="verbatim,macros,-callouts"]
+Declared in `<class‐template‐specializations‐1.cpp>`
+
+[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
struct R6
- : <<#S0-0cf,S0>><4>::<<#S0-0cf-S1,S1>>::<<#S0-0a1-S1-S2,S2>><5>;
+ : <<#S0-0cf,S0>><4>::<<#S0-0cf-S1,S1>>::<<#S0-0a1-S1-S2,S2>><5>;
----
@@ -777,11 +807,12 @@ struct R6
=== Synopsis
-Declared in ``
-[source,cpp,subs="verbatim,macros,-callouts"]
+Declared in `<class‐template‐specializations‐1.cpp>`
+
+[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
struct R7
- : <<#S0-0cf,S0>><6>::<<#S0-0cf-S1,S1>>::<<#S0-07e-S1-S2-06,S2>><7, void*>;
+ : <<#S0-0cf,S0>><6>::<<#S0-0cf-S1,S1>>::<<#S0-07e-S1-S2-06,S2>><7, void*>;
----
@@ -792,11 +823,12 @@ struct R7
=== Synopsis
-Declared in ``
-[source,cpp,subs="verbatim,macros,-callouts"]
+Declared in `<class‐template‐specializations‐1.cpp>`
+
+[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
struct R8
- : <<#S0-0cf,S0>><6>::<<#S0-0cf-S1,S1>>::<<#S0-07e-S1-S2-07,S2>><7, int*>;
+ : <<#S0-0cf,S0>><6>::<<#S0-0cf-S1,S1>>::<<#S0-07e-S1-S2-07,S2>><7, int*>;
----
@@ -807,11 +839,12 @@ struct R8
=== Synopsis
-Declared in ``
-[source,cpp,subs="verbatim,macros,-callouts"]
+Declared in `<class‐template‐specializations‐1.cpp>`
+
+[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
struct R9
- : <<#S0-0cf,S0>><8>::<<#S0-0cf-S1,S1>>::<<#S0-0cf-S1-S2,S2>><9>::<<#S0-0a3-S1-S2-S3,S3>>;
+ : <<#S0-0cf,S0>><8>::<<#S0-0cf-S1,S1>>::<<#S0-0cf-S1-S2,S2>><9>::<<#S0-0a3-S1-S2-S3,S3>>;
----
@@ -822,11 +855,12 @@ struct R9
=== Synopsis
-Declared in ``
-[source,cpp,subs="verbatim,macros,-callouts"]
+Declared in `<class‐template‐specializations‐1.cpp>`
+
+[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
struct R10
- : <<#S0-0cf,S0>><10>::<<#S0-0cf-S1,S1>>::<<#S0-0cf-S1-S2,S2>><11>::<<#S0-08-S1-S2-S4,S4>>;
+ : <<#S0-0cf,S0>><10>::<<#S0-0cf-S1,S1>>::<<#S0-0cf-S1-S2,S2>><11>::<<#S0-08-S1-S2-S4,S4>><‐1>;
----
@@ -837,11 +871,12 @@ struct R10
=== Synopsis
-Declared in ``
-[source,cpp,subs="verbatim,macros,-callouts"]
+Declared in `<class‐template‐specializations‐1.cpp>`
+
+[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
struct R11
- : <<#S0-0cf,S0>><12>::<<#S0-0cf-S1,S1>>::<<#S0-0cf-S1-S2,S2>><13>::<<#S0-0e-S1-S2-S4,S4>><14>;
+ : <<#S0-0cf,S0>><12>::<<#S0-0cf-S1,S1>>::<<#S0-0cf-S1-S2,S2>><13>::<<#S0-0e-S1-S2-S4,S4>><14>;
----
@@ -852,11 +887,12 @@ struct R11
=== Synopsis
-Declared in ``
-[source,cpp,subs="verbatim,macros,-callouts"]
+Declared in `<class‐template‐specializations‐1.cpp>`
+
+[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
struct R12
- : <<#S0-0cf,S0>><15>::<<#S0-0cf-S1,S1>>::<<#S0-0cf-S1-S2,S2>><16>::<<#S0-09e4-S1-S2-S4-07,S4>><17, void*>;
+ : <<#S0-0cf,S0>><15>::<<#S0-0cf-S1,S1>>::<<#S0-0cf-S1-S2,S2>><16>::<<#S0-09e4-S1-S2-S4-07,S4>><17, void*>;
----
@@ -867,11 +903,12 @@ struct R12
=== Synopsis
-Declared in ``
-[source,cpp,subs="verbatim,macros,-callouts"]
+Declared in `<class‐template‐specializations‐1.cpp>`
+
+[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
struct R13
- : <<#S0-0cf,S0>><15>::<<#S0-0cf-S1,S1>>::<<#S0-0cf-S1-S2,S2>><16>::<<#S0-09e4-S1-S2-S4-02,S4>><17, int*>;
+ : <<#S0-0cf,S0>><15>::<<#S0-0cf-S1,S1>>::<<#S0-0cf-S1-S2,S2>><16>::<<#S0-09e4-S1-S2-S4-02,S4>><17, int*>;
----
@@ -882,11 +919,12 @@ struct R13
=== Synopsis
-Declared in ``
-[source,cpp,subs="verbatim,macros,-callouts"]
+Declared in `<class‐template‐specializations‐1.cpp>`
+
+[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
struct R14
- : <<#S0-0cf,S0>><18>::<<#S0-07a-S5,S5>>;
+ : <<#S0-0cf,S0>><18>::<<#S0-07a-S5,S5>><‐1>;
----
@@ -897,11 +935,12 @@ struct R14
=== Synopsis
-Declared in ``
-[source,cpp,subs="verbatim,macros,-callouts"]
+Declared in `<class‐template‐specializations‐1.cpp>`
+
+[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
struct R15
- : <<#S0-0cf,S0>><19>::<<#S0-0a7-S5,S5>><20>;
+ : <<#S0-0cf,S0>><19>::<<#S0-0a7-S5,S5>><20>;
----
@@ -912,11 +951,12 @@ struct R15
=== Synopsis
-Declared in ``
-[source,cpp,subs="verbatim,macros,-callouts"]
+Declared in `<class‐template‐specializations‐1.cpp>`
+
+[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
struct R16
- : <<#S0-0cf,S0>><21>::<<#S0-031-S5-0b,S5>><22, void*>;
+ : <<#S0-0cf,S0>><21>::<<#S0-031-S5-0b,S5>><22, void*>;
----
@@ -927,11 +967,12 @@ struct R16
=== Synopsis
-Declared in ``
-[source,cpp,subs="verbatim,macros,-callouts"]
+Declared in `<class‐template‐specializations‐1.cpp>`
+
+[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
struct R17
- : <<#S0-0cf,S0>><21>::<<#S0-031-S5-03,S5>><22, int*>;
+ : <<#S0-0cf,S0>><21>::<<#S0-031-S5-03,S5>><22, int*>;
----
@@ -942,11 +983,12 @@ struct R17
=== Synopsis
-Declared in ``
-[source,cpp,subs="verbatim,macros,-callouts"]
+Declared in `<class‐template‐specializations‐1.cpp>`
+
+[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
struct R18
- : <<#S0-0cf,S0>><23>::<<#S0-0cf-S5,S5>><24>::<<#S0-05-S5-S6,S6>>;
+ : <<#S0-0cf,S0>><23>::<<#S0-0cf-S5,S5>><24>::<<#S0-05-S5-S6,S6>>;
----
@@ -957,11 +999,12 @@ struct R18
=== Synopsis
-Declared in ``
-[source,cpp,subs="verbatim,macros,-callouts"]
+Declared in `<class‐template‐specializations‐1.cpp>`
+
+[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
struct R19
- : <<#S0-0cf,S0>><25>::<<#S0-0cf-S5,S5>><26>::<<#S0-0cf-S5-S6,S6>>::<<#S0-0a2-S5-S6-S7,S7>>;
+ : <<#S0-0cf,S0>><25>::<<#S0-0cf-S5,S5>><26>::<<#S0-0cf-S5-S6,S6>>::<<#S0-0a2-S5-S6-S7,S7>><‐1>;
----
@@ -972,11 +1015,12 @@ struct R19
=== Synopsis
-Declared in ``
-[source,cpp,subs="verbatim,macros,-callouts"]
+Declared in `<class‐template‐specializations‐1.cpp>`
+
+[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
struct R20
- : <<#S0-0cf,S0>><27>::<<#S0-0cf-S5,S5>><28>::<<#S0-0cf-S5-S6,S6>>::<<#S0-09e2-S5-S6-S7-0a,S7>><29, void*>;
+ : <<#S0-0cf,S0>><27>::<<#S0-0cf-S5,S5>><28>::<<#S0-0cf-S5-S6,S6>>::<<#S0-09e2-S5-S6-S7-0a,S7>><29, void*>;
----
@@ -987,11 +1031,12 @@ struct R20
=== Synopsis
-Declared in ``
-[source,cpp,subs="verbatim,macros,-callouts"]
+Declared in `<class‐template‐specializations‐1.cpp>`
+
+[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
struct R21
- : <<#S0-0cf,S0>><27>::<<#S0-0cf-S5,S5>><28>::<<#S0-0cf-S5-S6,S6>>::<<#S0-09e2-S5-S6-S7-0d,S7>><29, int*>;
+ : <<#S0-0cf,S0>><27>::<<#S0-0cf-S5,S5>><28>::<<#S0-0cf-S5-S6,S6>>::<<#S0-09e2-S5-S6-S7-0d,S7>><29, int*>;
----
@@ -1002,11 +1047,12 @@ struct R21
=== Synopsis
-Declared in ``
-[source,cpp,subs="verbatim,macros,-callouts"]
+Declared in `<class‐template‐specializations‐1.cpp>`
+
+[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
struct R22
- : <<#S0-0cf,S0>><30>::<<#S0-0cf-S5,S5>><31>::<<#S0-0cf-S5-S6,S6>>::<<#S0-01-S5-S6-S7,S7>><32>;
+ : <<#S0-0cf,S0>><30>::<<#S0-0cf-S5,S5>><31>::<<#S0-0cf-S5-S6,S6>>::<<#S0-01-S5-S6-S7,S7>><32>;
----
@@ -1017,11 +1063,12 @@ struct R22
=== Synopsis
-Declared in ``
-[source,cpp,subs="verbatim,macros,-callouts"]
+Declared in `<class‐template‐specializations‐1.cpp>`
+
+[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
struct R23
- : <<#S0-0cf,S0>><33>::<<#S0-0cf-S5,S5>><34>::<<#S0-0cf-S5-S6,S6>>::<<#S0-0cf-S5-S6-S7,S7>><35>::<<#S0-09ee-S5-S6-S7-S8,S8>>;
+ : <<#S0-0cf,S0>><33>::<<#S0-0cf-S5,S5>><34>::<<#S0-0cf-S5-S6,S6>>::<<#S0-0cf-S5-S6-S7,S7>><35>::<<#S0-09ee-S5-S6-S7-S8,S8>>;
----
@@ -1032,11 +1079,12 @@ struct R23
=== Synopsis
-Declared in ``
-[source,cpp,subs="verbatim,macros,-callouts"]
+Declared in `<class‐template‐specializations‐1.cpp>`
+
+[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
struct R24
- : <<#S0-0cf,S0>><36>::<<#S0-0cf-S5,S5>><37>::<<#S0-0cf-S5-S6,S6>>::<<#S0-0cf-S5-S6-S7,S7>><38>::<<#S0-033-S5-S6-S7-S9,S9>>;
+ : <<#S0-0cf,S0>><36>::<<#S0-0cf-S5,S5>><37>::<<#S0-0cf-S5-S6,S6>>::<<#S0-0cf-S5-S6-S7,S7>><38>::<<#S0-033-S5-S6-S7-S9,S9>><‐1>;
----
@@ -1047,11 +1095,12 @@ struct R24
=== Synopsis
-Declared in ``
-[source,cpp,subs="verbatim,macros,-callouts"]
+Declared in `<class‐template‐specializations‐1.cpp>`
+
+[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
struct R25
- : <<#S0-0cf,S0>><39>::<<#S0-0cf-S5,S5>><40>::<<#S0-0cf-S5-S6,S6>>::<<#S0-0cf-S5-S6-S7,S7>><41>::<<#S0-06-S5-S6-S7-S9-00,S9>><42, void*>;
+ : <<#S0-0cf,S0>><39>::<<#S0-0cf-S5,S5>><40>::<<#S0-0cf-S5-S6,S6>>::<<#S0-0cf-S5-S6-S7,S7>><41>::<<#S0-06-S5-S6-S7-S9-00,S9>><42, void*>;
----
@@ -1062,11 +1111,12 @@ struct R25
=== Synopsis
-Declared in ``
-[source,cpp,subs="verbatim,macros,-callouts"]
+Declared in `<class‐template‐specializations‐1.cpp>`
+
+[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
struct R26
- : <<#S0-0cf,S0>><39>::<<#S0-0cf-S5,S5>><40>::<<#S0-0cf-S5-S6,S6>>::<<#S0-0cf-S5-S6-S7,S7>><41>::<<#S0-06-S5-S6-S7-S9-08,S9>><42, int*>;
+ : <<#S0-0cf,S0>><39>::<<#S0-0cf-S5,S5>><40>::<<#S0-0cf-S5-S6,S6>>::<<#S0-0cf-S5-S6-S7,S7>><41>::<<#S0-06-S5-S6-S7-S9-08,S9>><42, int*>;
----
@@ -1077,11 +1127,12 @@ struct R26
=== Synopsis
-Declared in ``
-[source,cpp,subs="verbatim,macros,-callouts"]
+Declared in `<class‐template‐specializations‐1.cpp>`
+
+[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
struct R27
- : <<#S0-0cf,S0>><43>::<<#S0-0cf-S5,S5>><44>::<<#S0-0cf-S5-S6,S6>>::<<#S0-0cf-S5-S6-S7,S7>><45>::<<#S0-0ba-S5-S6-S7-S9,S9>><46>;
+ : <<#S0-0cf,S0>><43>::<<#S0-0cf-S5,S5>><44>::<<#S0-0cf-S5-S6,S6>>::<<#S0-0cf-S5-S6-S7,S7>><45>::<<#S0-0ba-S5-S6-S7-S9,S9>><46>;
----
@@ -1092,11 +1143,12 @@ struct R27
=== Synopsis
-Declared in ``
-[source,cpp,subs="verbatim,macros,-callouts"]
+Declared in `<class‐template‐specializations‐1.cpp>`
+
+[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
struct R28
- : <<#S0-0cf,S0>><0, bool>;
+ : <<#S0-0cf,S0>><0, bool>;
----
=== Types
@@ -1128,11 +1180,12 @@ struct R28
=== Synopsis
-Declared in ``
-[source,cpp,subs="verbatim,macros,-callouts"]
+Declared in `<class‐template‐specializations‐1.cpp>`
+
+[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
struct R29
- : <<#S0-0cf,S0>><1, int>;
+ : <<#S0-0cf,S0>><1, int>;
----
=== Types
@@ -1164,11 +1217,12 @@ struct R29
=== Synopsis
-Declared in ``
-[source,cpp,subs="verbatim,macros,-callouts"]
+Declared in `<class‐template‐specializations‐1.cpp>`
+
+[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
struct R30
- : <<#S0-0cf,S0>><2, bool>::<<#S0-0cf-S1,S1>>;
+ : <<#S0-0cf,S0>><2, bool>::<<#S0-0cf-S1,S1>>;
----
=== Types
@@ -1197,14 +1251,15 @@ struct R30
=== Synopsis
-Declared in ``
-[source,cpp,subs="verbatim,macros,-callouts"]
+Declared in `<class‐template‐specializations‐1.cpp>`
+
+[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
-template<
+template<
int I,
- typename T>
+ typename T>
struct R31
- : <<#S0-0cf,S0>><3, bool>::<<#S0-0cf-S1,S1>>::<<#S0-0cf-S1-S2,S2>>;
+ : <<#S0-0cf,S0>><3, bool>::<<#S0-0cf-S1,S1>>::<<#S0-0cf-S1-S2,S2>><I, T>;
----
=== Types
@@ -1236,11 +1291,12 @@ struct R31
=== Synopsis
-Declared in ``
-[source,cpp,subs="verbatim,macros,-callouts"]
+Declared in `<class‐template‐specializations‐1.cpp>`
+
+[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
struct R32
- : <<#S0-0cf,S0>><4, bool>::<<#S0-0cf-S1,S1>>::<<#S0-0cf-S1-S2,S2>><5, bool>;
+ : <<#S0-0cf,S0>><4, bool>::<<#S0-0cf-S1,S1>>::<<#S0-0cf-S1-S2,S2>><5, bool>;
----
=== Types
@@ -1272,11 +1328,12 @@ struct R32
=== Synopsis
-Declared in ``
-[source,cpp,subs="verbatim,macros,-callouts"]
+Declared in `<class‐template‐specializations‐1.cpp>`
+
+[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
struct R33
- : <<#S0-0cf,S0>><6, bool>::<<#S0-0cf-S1,S1>>::<<#S0-0cf-S1-S2,S2>><7, int>;
+ : <<#S0-0cf,S0>><6, bool>::<<#S0-0cf-S1,S1>>::<<#S0-0cf-S1-S2,S2>><7, int>;
----
=== Types
@@ -1308,11 +1365,12 @@ struct R33
=== Synopsis
-Declared in ``
-[source,cpp,subs="verbatim,macros,-callouts"]
+Declared in `<class‐template‐specializations‐1.cpp>`
+
+[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
struct R34
- : <<#S0-0cf,S0>><8, bool>::<<#S0-0cf-S1,S1>>::<<#S0-0cf-S1-S2,S2>><9, bool>::<<#S0-0cf-S1-S2-S3,S3>>;
+ : <<#S0-0cf,S0>><8, bool>::<<#S0-0cf-S1,S1>>::<<#S0-0cf-S1-S2,S2>><9, bool>::<<#S0-0cf-S1-S2-S3,S3>>;
----
=== Member Functions
@@ -1332,14 +1390,15 @@ struct R34
=== Synopsis
-Declared in ``
-[source,cpp,subs="verbatim,macros,-callouts"]
+Declared in `<class‐template‐specializations‐1.cpp>`
+
+[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
-template<
+template<
int I,
- typename T>
+ typename T>
struct R35
- : <<#S0-0cf,S0>><10, bool>::<<#S0-0cf-S1,S1>>::<<#S0-0cf-S1-S2,S2>><11, bool>::<<#S0-0cf-S1-S2-S4,S4>>;
+ : <<#S0-0cf,S0>><10, bool>::<<#S0-0cf-S1,S1>>::<<#S0-0cf-S1-S2,S2>><11, bool>::<<#S0-0cf-S1-S2-S4,S4>><I, T>;
----
=== Member Functions
@@ -1359,11 +1418,12 @@ struct R35
=== Synopsis
-Declared in ``
-[source,cpp,subs="verbatim,macros,-callouts"]
+Declared in `<class‐template‐specializations‐1.cpp>`
+
+[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
struct R36
- : <<#S0-0cf,S0>><12, bool>::<<#S0-0cf-S1,S1>>::<<#S0-0cf-S1-S2,S2>><13, bool>::<<#S0-0cf-S1-S2-S4,S4>><14, bool>;
+ : <<#S0-0cf,S0>><12, bool>::<<#S0-0cf-S1,S1>>::<<#S0-0cf-S1-S2,S2>><13, bool>::<<#S0-0cf-S1-S2-S4,S4>><14, bool>;
----
=== Member Functions
@@ -1383,11 +1443,12 @@ struct R36
=== Synopsis
-Declared in ``
-[source,cpp,subs="verbatim,macros,-callouts"]
+Declared in `<class‐template‐specializations‐1.cpp>`
+
+[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
struct R37
- : <<#S0-0cf,S0>><15, bool>::<<#S0-0cf-S1,S1>>::<<#S0-0cf-S1-S2,S2>><16, bool>::<<#S0-0cf-S1-S2-S4,S4>><17, int>;
+ : <<#S0-0cf,S0>><15, bool>::<<#S0-0cf-S1,S1>>::<<#S0-0cf-S1-S2,S2>><16, bool>::<<#S0-0cf-S1-S2-S4,S4>><17, int>;
----
=== Member Functions
@@ -1407,14 +1468,15 @@ struct R37
=== Synopsis
-Declared in ``
-[source,cpp,subs="verbatim,macros,-callouts"]
+Declared in `<class‐template‐specializations‐1.cpp>`
+
+[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
-template<
+template<
int I,
- typename T>
+ typename T>
struct R38
- : <<#S0-0cf,S0>><18, bool>::<<#S0-0cf-S5,S5>>;
+ : <<#S0-0cf,S0>><18, bool>::<<#S0-0cf-S5,S5>><I, T>;
----
=== Types
@@ -1443,11 +1505,12 @@ struct R38
=== Synopsis
-Declared in ``
-[source,cpp,subs="verbatim,macros,-callouts"]
+Declared in `<class‐template‐specializations‐1.cpp>`
+
+[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
struct R39
- : <<#S0-0cf,S0>><19, bool>::<<#S0-0cf-S5,S5>><20, bool>;
+ : <<#S0-0cf,S0>><19, bool>::<<#S0-0cf-S5,S5>><20, bool>;
----
=== Types
@@ -1476,11 +1539,12 @@ struct R39
=== Synopsis
-Declared in ``
-[source,cpp,subs="verbatim,macros,-callouts"]
+Declared in `<class‐template‐specializations‐1.cpp>`
+
+[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
struct R40
- : <<#S0-0cf,S0>><21, bool>::<<#S0-0cf-S5,S5>><22, int>;
+ : <<#S0-0cf,S0>><21, bool>::<<#S0-0cf-S5,S5>><22, int>;
----
=== Types
@@ -1509,11 +1573,12 @@ struct R40
=== Synopsis
-Declared in ``
-[source,cpp,subs="verbatim,macros,-callouts"]
+Declared in `<class‐template‐specializations‐1.cpp>`
+
+[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
struct R41
- : <<#S0-0cf,S0>><23, bool>::<<#S0-0cf-S5,S5>><24, bool>::<<#S0-0cf-S5-S6,S6>>;
+ : <<#S0-0cf,S0>><23, bool>::<<#S0-0cf-S5,S5>><24, bool>::<<#S0-0cf-S5-S6,S6>>;
----
=== Types
@@ -1542,14 +1607,15 @@ struct R41
=== Synopsis
-Declared in ``
-[source,cpp,subs="verbatim,macros,-callouts"]
+Declared in `<class‐template‐specializations‐1.cpp>`
+
+[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
-template<
+template<
int I,
- typename T>
+ typename T>
struct R42
- : <<#S0-0cf,S0>><25, bool>::<<#S0-0cf-S5,S5>><26, bool>::<<#S0-0cf-S5-S6,S6>>::<<#S0-0cf-S5-S6-S7,S7>>;
+ : <<#S0-0cf,S0>><25, bool>::<<#S0-0cf-S5,S5>><26, bool>::<<#S0-0cf-S5-S6,S6>>::<<#S0-0cf-S5-S6-S7,S7>><I, T>;
----
=== Types
@@ -1581,11 +1647,12 @@ struct R42
=== Synopsis
-Declared in ``
-[source,cpp,subs="verbatim,macros,-callouts"]
+Declared in `<class‐template‐specializations‐1.cpp>`
+
+[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
struct R43
- : <<#S0-0cf,S0>><27, bool>::<<#S0-0cf-S5,S5>><28, bool>::<<#S0-0cf-S5-S6,S6>>::<<#S0-0cf-S5-S6-S7,S7>><29, int>;
+ : <<#S0-0cf,S0>><27, bool>::<<#S0-0cf-S5,S5>><28, bool>::<<#S0-0cf-S5-S6,S6>>::<<#S0-0cf-S5-S6-S7,S7>><29, int>;
----
=== Types
@@ -1617,11 +1684,12 @@ struct R43
=== Synopsis
-Declared in ``
-[source,cpp,subs="verbatim,macros,-callouts"]
+Declared in `<class‐template‐specializations‐1.cpp>`
+
+[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
struct R44
- : <<#S0-0cf,S0>><30, bool>::<<#S0-0cf-S5,S5>><31, bool>::<<#S0-0cf-S5-S6,S6>>::<<#S0-0cf-S5-S6-S7,S7>><32, bool>;
+ : <<#S0-0cf,S0>><30, bool>::<<#S0-0cf-S5,S5>><31, bool>::<<#S0-0cf-S5-S6,S6>>::<<#S0-0cf-S5-S6-S7,S7>><32, bool>;
----
=== Types
@@ -1653,11 +1721,12 @@ struct R44
=== Synopsis
-Declared in ``
-[source,cpp,subs="verbatim,macros,-callouts"]
+Declared in `<class‐template‐specializations‐1.cpp>`
+
+[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
struct R45
- : <<#S0-0cf,S0>><33, bool>::<<#S0-0cf-S5,S5>><34, bool>::<<#S0-0cf-S5-S6,S6>>::<<#S0-0cf-S5-S6-S7,S7>><35, bool>::<<#S0-0cf-S5-S6-S7-S8,S8>>;
+ : <<#S0-0cf,S0>><33, bool>::<<#S0-0cf-S5,S5>><34, bool>::<<#S0-0cf-S5-S6,S6>>::<<#S0-0cf-S5-S6-S7,S7>><35, bool>::<<#S0-0cf-S5-S6-S7-S8,S8>>;
----
=== Member Functions
@@ -1677,14 +1746,15 @@ struct R45
=== Synopsis
-Declared in ``
-[source,cpp,subs="verbatim,macros,-callouts"]
+Declared in `<class‐template‐specializations‐1.cpp>`
+
+[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
-template<
+template<
int I,
- typename T>
+ typename T>
struct R46
- : <<#S0-0cf,S0>><36, bool>::<<#S0-0cf-S5,S5>><37, bool>::<<#S0-0cf-S5-S6,S6>>::<<#S0-0cf-S5-S6-S7,S7>><38, bool>::<<#S0-0cf-S5-S6-S7-S9,S9>>;
+ : <<#S0-0cf,S0>><36, bool>::<<#S0-0cf-S5,S5>><37, bool>::<<#S0-0cf-S5-S6,S6>>::<<#S0-0cf-S5-S6-S7,S7>><38, bool>::<<#S0-0cf-S5-S6-S7-S9,S9>><I, T>;
----
=== Member Functions
@@ -1704,11 +1774,12 @@ struct R46
=== Synopsis
-Declared in ``
-[source,cpp,subs="verbatim,macros,-callouts"]
+Declared in `<class‐template‐specializations‐1.cpp>`
+
+[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
struct R47
- : <<#S0-0cf,S0>><39, bool>::<<#S0-0cf-S5,S5>><40, bool>::<<#S0-0cf-S5-S6,S6>>::<<#S0-0cf-S5-S6-S7,S7>><41, bool>::<<#S0-0cf-S5-S6-S7-S9,S9>><42, int>;
+ : <<#S0-0cf,S0>><39, bool>::<<#S0-0cf-S5,S5>><40, bool>::<<#S0-0cf-S5-S6,S6>>::<<#S0-0cf-S5-S6-S7,S7>><41, bool>::<<#S0-0cf-S5-S6-S7-S9,S9>><42, int>;
----
=== Member Functions
@@ -1728,11 +1799,12 @@ struct R47
=== Synopsis
-Declared in ``
-[source,cpp,subs="verbatim,macros,-callouts"]
+Declared in `<class‐template‐specializations‐1.cpp>`
+
+[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
struct R48
- : <<#S0-0cf,S0>><43, bool>::<<#S0-0cf-S5,S5>><44, bool>::<<#S0-0cf-S5-S6,S6>>::<<#S0-0cf-S5-S6-S7,S7>><45, bool>::<<#S0-0cf-S5-S6-S7-S9,S9>><46, bool>;
+ : <<#S0-0cf,S0>><43, bool>::<<#S0-0cf-S5,S5>><44, bool>::<<#S0-0cf-S5-S6,S6>>::<<#S0-0cf-S5-S6-S7,S7>><45, bool>::<<#S0-0cf-S5-S6-S7-S9,S9>><46, bool>;
----
=== Member Functions
diff --git a/test-files/golden-tests/class-template-specializations-2.adoc b/test-files/golden-tests/class-template-specializations-2.adoc
index 6b4eeb6240..cb5d923428 100644
--- a/test-files/golden-tests/class-template-specializations-2.adoc
+++ b/test-files/golden-tests/class-template-specializations-2.adoc
@@ -12,10 +12,10 @@
| <<#A-0e,`A`>>
|
-| <<#A-03,`A`>>
+| <<#A-03,`A<T*>`>>
|
-| <<#A-06,`A`>>
+| <<#A-06,`A<double>`>>
|
|===
@@ -25,10 +25,11 @@
=== Synopsis
-Declared in ``
-[source,cpp,subs="verbatim,macros,-callouts"]
+Declared in `<class‐template‐specializations‐2.cpp>`
+
+[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
-template
+template<typename T>
struct A;
----
@@ -36,15 +37,16 @@ struct A;
[#A-03]
-== A
+== A<T*>
=== Synopsis
-Declared in ``
-[source,cpp,subs="verbatim,macros,-callouts"]
+Declared in `<class‐template‐specializations‐2.cpp>`
+
+[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
-template
-struct <<#A-0e,A>>;
+template<typename T>
+struct <<#A-0e,A>><T*>;
----
=== Types
@@ -55,10 +57,10 @@ struct <<#A-0e,A>>;
| <<#A-03-B-05,`B`>>
|
-| <<#A-03-B-01,`B`>>
+| <<#A-03-B-01,`B<U*>`>>
|
-| <<#A-03-B-0b,`B`>>
+| <<#A-03-B-0b,`B<int>`>>
|
|===
@@ -66,14 +68,15 @@ struct <<#A-0e,A>>;
[#A-03-B-05]
-== <<#A-03,A>>::B
+== <<#A-03,A>><T*>::B
=== Synopsis
-Declared in ``
-[source,cpp,subs="verbatim,macros,-callouts"]
+Declared in `<class‐template‐specializations‐2.cpp>`
+
+[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
-template
+template<typename U>
struct B;
----
@@ -81,15 +84,16 @@ struct B;
[#A-03-B-01]
-== <<#A-03,A>>::B
+== <<#A-03,A>><T*>::B<U*>
=== Synopsis
-Declared in ``
-[source,cpp,subs="verbatim,macros,-callouts"]
+Declared in `<class‐template‐specializations‐2.cpp>`
+
+[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
-template
-struct <<#A-03-B-05,B>>;
+template<typename U>
+struct <<#A-03-B-05,B>><U*>;
----
=== Types
@@ -105,12 +109,13 @@ struct <<#A-03-B-05,B>>;
[#A-03-B-01-C]
-== <<#A-03,A>>::<<#A-03-B-01,B>>::C
+== <<#A-03,A>><T*>::<<#A-03-B-01,B>><U*>::C
=== Synopsis
-Declared in ``
-[source,cpp,subs="verbatim,macros,-callouts"]
+Declared in `<class‐template‐specializations‐2.cpp>`
+
+[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
struct C;
----
@@ -119,30 +124,32 @@ struct C;
[#A-03-B-0b]
-== <<#A-03,A>>::B
+== <<#A-03,A>><T*>::B<int>
=== Synopsis
-Declared in ``
-[source,cpp,subs="verbatim,macros,-callouts"]
+Declared in `<class‐template‐specializations‐2.cpp>`
+
+[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
-template<>
-struct <<#A-03-B-05,B>>;
+template<>
+struct <<#A-03-B-05,B>><int>;
----
[#A-06]
-== A
+== A<double>
=== Synopsis
-Declared in ``
-[source,cpp,subs="verbatim,macros,-callouts"]
+Declared in `<class‐template‐specializations‐2.cpp>`
+
+[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
-template<>
-struct <<#A-0e,A>>;
+template<>
+struct <<#A-0e,A>><double>;
----
=== Types
@@ -153,7 +160,7 @@ struct <<#A-0e,A>>;
| <<#A-06-D-0b,`D`>>
|
-| <<#A-06-D-04,`D`>>
+| <<#A-06-D-04,`D<float>`>>
|
|===
@@ -161,14 +168,15 @@ struct <<#A-0e,A>>;
[#A-06-D-0b]
-== <<#A-06,A>>::D
+== <<#A-06,A>><double>::D
=== Synopsis
-Declared in ``
-[source,cpp,subs="verbatim,macros,-callouts"]
+Declared in `<class‐template‐specializations‐2.cpp>`
+
+[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
-template
+template<typename U>
struct D;
----
@@ -180,7 +188,7 @@ struct D;
| <<#A-06-D-0b-E-01,`E`>>
|
-| <<#A-06-D-0b-E-04,`E`>>
+| <<#A-06-D-0b-E-04,`E<T*>`>>
|
|===
@@ -188,14 +196,15 @@ struct D;
[#A-06-D-0b-E-01]
-== <<#A-06,A>>::<<#A-06-D-0b,D>>::E
+== <<#A-06,A>><double>::<<#A-06-D-0b,D>>::E
=== Synopsis
-Declared in `