随笔分类 - C/C++
摘要:在刷牛客时,看到这段lambda表达式可以提高输入输出速度 1 static const auto io_sync_off = []() 2 { 3 // turn off sync 4 std::ios::sync_with_stdio(false); 5 // untie in/out stre
阅读全文
摘要:title: C++ STL迭代器设计原则和萃取机制(Traits) date: 2019-12-23 15:21:47 tags: STL C/C++ categories: STL 迭代器 (iterator) 迭代器是算法和容器之间的中间桥梁,迭代器必须能够有能力满足算法的提问,其实也就是规定
阅读全文
浙公网安备 33010602011771号