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

    <tr>
        <th>Summary</th>
        <td>
            Error when including boost headersc[clang-diagnostic-missing-template-arg-list-after-template-kw]
        </td>
    </tr>

    <tr>
      <th>Labels</th>
      <td>
            new issue
      </td>
    </tr>

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

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

<pre>
    boost/qvm/quat_traits.hpp:82:30: error: a template argument list is expected after a name prefixed by the template keyword [clang-diagnostic-missing-template-arg-list-after-template-kw]
 82 |     quat_traits<Q>::template write_element_idx(i, q) = s;
(I don't include this header)

appear if use c++20 and 23
boost built from source v1.85

LLVM version 20.0.0git
Optimized build. (on 18 was crash)

latest Mac OS
cpu m1pro  
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJykU0Fv8zYM_TX0hbBhU3FsH3xImgYY0KIYBuxayDJja7UlV5KTdL9-UJKtxa6fD7Igko985KP0Xg-GuYVyD-UhkWsYrWuP9vqihzEYbYaks_1X21nrA9Dx8zzHc5XhPTipg8_GZQGxqwnETuQgdsjOWRcvEgPPyyQDo3TDOrMJOGkfUHvk68IqcI_yFNihRCNnxsXxSV-5x-4Lw8jf8R_8dbGuRyj3apJmSHstB2N90CqdtffaDOm_zql0QxrzpDfs7_ePC5QHyA-Q77AmhOoJ4_eDDIin30E8g9iB2P2X_OJ04HeeODJ41_0VqNZAT_gJ1CCIA3oQ-zswUP0b9tYAVQG1UdPaM4ZRexxZ9uyAmofj7ZTLwtKhPuHqGRXQHmhPOUrTI4m7z6312K16CnhydkZvV6cYz0VWlz_BXl7-fMUzO6-tQcqzPMsHHe62tyXoWf8dW7vqqc8QqLYGixov0qNy0o__Ky1S9wFfpcK3P-5PallxLhZnEZO-FX0jGplwW1REVG9K0SRj2zQVbzaSiqZQ24ZlIwopinq7Vd1Wnaoy0S3ltMkraignKuqsLsS2rzZiK0kIUZSwyXmWesqm6Txn1g2J9n7ltsiLvGqSSXY8-ZtgiQxf8GYFoqhf18agtFsHD5s8isB_wwQdJm6fozzxMrJ5zEebAe89vo_Iq19XWbK6qR1DWHzUEh2BjoMO49plysYFijU9funi7F-s4nLdmHig44PquaV_AgAA__9feCpm">