無序關(guān)聯(lián)容器 無序關(guān)聯(lián)容器(Unordered associative container)是C++11標(biāo)準(zhǔn)庫中新增的類型,包括 unorder...
std::tuple tuple簡史 C++ Reference對tuple的解釋是“fixed-size collection of hete...
std::swap() std::swap()是一個很簡單的函數(shù):交換兩個參數(shù)的值,僅此而已。但是這個看似平淡無奇的函數(shù),背后的故事卻不簡單。不...
std::chrono 說起來有點(diǎn)令人難以置信,直到C++ 11之前,標(biāo)準(zhǔn)庫中唯一可以處理時間的就是<ctime>提供的有限的幾個函數(shù),而即使這...
Smart Pointers Smart pointer,也就是所謂的“智能指針”,是指那些能夠自我管理生命周期的指針對象。C++ 11之前,標(biāo)...
std::array std::array是c-style數(shù)組的對象化包裝。我們知道c-style數(shù)組在使用時很痛苦的一點(diǎn)是數(shù)組本身并不知道自己...
Type Traits Trait在英語中特指a particular quality of your personality,大致相當(dāng)于漢語中...
C++模板元編程 元程序一詞來源于英文單詞metaprogram。在英語中,metaprogram的意思是a program about a p...
原文:Swift's mysterious Builtin module 當(dāng)你在Playground中cmd+click某個量,比如Int的時候...