You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
template<classT> auto Value = 10;
template<> auto Value<char> = 0.0;
generates following output in cppinsights:
template<classT>
int Value = 10;
<> auto Value<char> = 0.0;
There are two issues:
For both, the primary template and the specialization of Value, we use auto. But only in the primary template cppinsights replaces auto by int. But it would be nice if also for the specialization it would replace auto by the according type (double).
In line 3 of the output of cppinsights, it is missing the keyword template in front of the <>.
The text was updated successfully, but these errors were encountered:
The following code:
generates following output in cppinsights:
There are two issues:
Value
, we useauto
. But only in the primary template cppinsights replacesauto
byint
. But it would be nice if also for the specialization it would replaceauto
by the according type (double
).template
in front of the<>
.The text was updated successfully, but these errors were encountered: