<table border="1" cellspacing="0" cellpadding="8">
    <tr>
        <th>Issue</th>
        <td>
            <a href=https://github.com/llvm/llvm-project/issues/59817>59817</a>
        </td>
    </tr>

    <tr>
        <th>Summary</th>
        <td>
            [clang-doc] Template specializations get the template parameters added to destructors/constructors
        </td>
    </tr>

    <tr>
      <th>Labels</th>
      <td>
      </td>
    </tr>

    <tr>
      <th>Assignees</th>
      <td>
      </td>
    </tr>

    <tr>
      <th>Reporter</th>
      <td>
          danakj
      </td>
    </tr>
</table>

<pre>
    Possibly this only occurs in a specialization.

>From the class:
```cpp
template <class TypeListOfMemberTypes, auto... Tags>
class Choice;

template <class... Ts, auto... Tags>
class Choice<__private::TypeList<Ts...>, Tags...> final {
 ...
};
```

Here's a destructor:
```
~Choice<TypeList<type-parameter-0-0...>, Tags...>
public void ~Choice<TypeList<type-parameter-0-0...>, Tags...>()

Defined at line [140](https://github.com/chromium/subspace/blob/main/subspace/choice/choice.h#140) of file [choice.h](https://github.com/chromium/subspace/blob/main/subspace/choice/choice.h)

```
And a constructor:
```
Choice<TypeList<type-parameter-0-0...>, Tags...>
public void Choice<TypeList<type-parameter-0-0...>, Tags...>(Choice<TypeList<type-parameter-0-0...>, Tags...> && o)

Defined at line [151](https://github.com/chromium/subspace/blob/main/subspace/choice/choice.h#151) of file [choice.h](https://github.com/chromium/subspace/blob/main/subspace/choice/choice.h)
```
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJzElU2PmzwQxz_NcBkFGRMCHDjsJg96Dq3aQ-4rYwbw1mBkm5XSQz97BWyy2W7Vrrp9kaLgt_n7Ny8MwjnVDkQFJLeQHAIx-c7YohaD-HQfVKY-FR-Nc6rSJ_SdcmgGfUIj5WQdqgEFupGkElp9Fl6ZIQR2AHaz_pfW9Og7QqmFcxA_LsOOrT85juuKp37UwhNCvF_O4vE00jvl_IfmPfUV2XnugO9RTN6EYYhH0TqI_1vtV5t9Z5QkiG-vGV5IL8avldrf3Y1WPQhPM318c8aCeH-clWYzvl8U1hk2ahAaIX2EwHl5xUkPT2jnCFyT_k-WgKcOBdbkvJ2kN_Zl0NbplwvhFZI_jbQZhRU9ebIbtmHfQ1wFxqnSSuKDUTW-RYxnwPNrNw7UqIFqFB61GgghuY22DJID8KzzflzqgJfAy1b5bqpCaXrgpeys6dU0D91UuVFIAl5W2lTAy16o4fmGXInPg7ADHs_X8BxNg43Sy8WXzT9_-7MYfJOsm6FGgdIMP8vq70zqm3L668YIfAd8h-YVZZFEf6Uskujfl8U5z0FdxHUe5yKgItqlPGM83qVBVySRjPJUZDnPKJJV07Bql2d5wqRoJEu2gSo44zGL2JbFUc7TMMqabZ6zOOFVVO_yCLaMeqF0qPVDHxrbBsq5iYokz6I00KIi7c5t3hbzoU01tQ62TCvn3ZOZV14vHwSpxdBuaiMhOeDx3EifN3yHLfmlyV867aVGHIq6phq9uepobo7P06vggsnq4gc5mLEeH5vRmnuSHni5uDZLLd59DQAA__8zNxKL">