Skip to content

Rule: Allocator nested typedef removed

Canonical rule slug: allocator-nested-typedef-removed. ← back to all rules

An allocator-like template drops a nested typedef the standard library contract requires, breaking generic code that names it.

Canonical demonstration