diff --git a/src/libs/cplusplus/TypePrettyPrinter.cpp b/src/libs/cplusplus/TypePrettyPrinter.cpp
index f2594bacfe12af915810d9817dd4cb3c0f7d82a5..0c376dfcccaccdb8703f50283274b729d31a526b 100644
--- a/src/libs/cplusplus/TypePrettyPrinter.cpp
+++ b/src/libs/cplusplus/TypePrettyPrinter.cpp
@@ -364,7 +364,8 @@ void TypePrettyPrinter::space()
 
     const QChar ch = _text.at(_text.length() - 1);
 
-    if (ch.isLetterOrNumber() || ch == QLatin1Char('_') || ch == QLatin1Char(')'))
+    if (ch.isLetterOrNumber() || ch == QLatin1Char('_') || ch == QLatin1Char(')')
+            || ch == QLatin1Char('>'))
         _text += QLatin1Char(' ');
 }