Use the T() instead of NULL for the default value.
The template can be specialized on primitives, e.g. double, where converting NULL will trigger a warning.
Showing
Please
register
or
sign in
to comment
The template can be specialized on primitives, e.g. double, where converting NULL will trigger a warning.