Skip to content

Rule: Header-only template default unchanged

Canonical rule slug: header-only-template-default-unchanged. ← back to all rules

A header-only class template keeps the same default argument on both sides. The template-default detector must emit nothing; this is the negative control for the header-only rules.

Canonical demonstration