官术网_书友最值得收藏!

Getting closer with several new features in modern C++

So, what is new in modern C++ in comparison to the old one? There are so many changes in modern C++ compared to the old one, and the book pages will dramatically increase if we discuss all of them. However, we will discuss the new features in modern C++, which we should know about, to make us more productive in coding activities. We will discuss several new keywords, such as auto, decltype, and nullptr. We will also discuss the enhancement of the begin() and end() function that has now become a non-member class function. We will also discuss the augmented support for the for-each technique to iterate over collections using the range-based for loop techniques.

The next few subsections in this chapter will also discuss the new features of modern C++, namely Lambda expressions, smart pointers, and tuples, which were just added in the C++11 release.

主站蜘蛛池模板: 弥勒县| 纳雍县| 巴林右旗| 玉田县| 辰溪县| 佛坪县| 鹤壁市| 西畴县| 繁峙县| 商河县| 榆树市| 海南省| 乐至县| 朝阳区| 东乡县| 郴州市| 达日县| 隆安县| 岑巩县| 乌鲁木齐市| 浦东新区| 永城市| 大连市| 乌鲁木齐市| 丘北县| 乳山市| 余江县| 农安县| 思茅市| 夏津县| 宁德市| 青龙| 电白县| 滦平县| 浮山县| 安化县| 措勤县| 凌源市| 凤翔县| 琼中| 含山县|