摘要:
auto decltype Rvalue references and move semantics Lambda expressions nullptr static_assert Range based for loop Trailing return type in functions fin 阅读全文
摘要:
新增了foreach的写法 int main() { int numbers[] = {1, 2, 3, 4, 5}; for (auto number : numbers) { std::cout << number << std::endl; } } 阅读全文
摘要:
Null可以用于表示空指针,Nullptr可以用于表示函数指针 由于NULL被定义成常量0,也可以是指针常量,所以新增Nullptr表示空指针 class Test { public: void TestWork(int index) { std::cout << "TestWork 1" << s 阅读全文