When writing C++ code with nested templates, putting two (or more) closing angle braces together causes the font-lock, show-paren-mode and indentation to break. Positioning point on any of the closing parentheses fails to show the matching opening brace which makes template meta-programs difficult to read. Any nested templates will cause this. The following is a simple example showing the 2 cases: