From 102599050a741282edc43c4cf4a9773f00fa94be Mon Sep 17 00:00:00 2001 From: Tulio Leao Date: Sun, 9 Apr 2017 15:43:05 -0300 Subject: [PATCH] Add improvement to usage of right angle brackets They are now properly distinguished from serializing operators (N1757). --- README.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/README.md b/README.md index 849c375..53ebfa8 100644 --- a/README.md +++ b/README.md @@ -65,6 +65,7 @@ C++11 includes the following new language features: - [explicit conversion functions](#explicit-conversion-functions) - [inline-namespaces](#inline-namespaces) - [non-static data member initializers](#non-static-data-member-initializers) +- [right angle brackets](#right-angle-brackets) C++11 includes the following new library features: - [std::move](#stdmove) @@ -1033,6 +1034,15 @@ class Human { }; ``` + +### Right angle Brackets +C++11 is now able to infer when a series of right angle brackets is used as an operator or as a closing statement of typedef, without having to add whitespace. + +```c++ +typedef std::map > > cpp98LongTypedef; +typedef std::map>> cpp11LongTypedef; +``` + ## C++11 Library Features ### std::move