Skip to content

Rule: Header-only template default removed

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

A default argument is removed from a header-only class template parameter, so consumer spellings that relied on it stop compiling. Recorded on clang; a castxml gap on the default lane.

Canonical demonstration