C++高性能并行编程与优化 - 课件 - 17 由浅入深学习 map 容器
由浅入深学习 map 容器 by 彭于斌( @archibate ) 我负责监督你鞋习 ! 我负责监督你鞋习 ! 本期看点: 用方括号 [ ] 取出 map 元素居然是错误的! 能不能在遍历的同时删除元素?安全吗? emplace , emplace_hint , try_emplace 的区别? 课程安排 1. vector 容器初体验 & 迭代器入门 (BV1qF411T7sd) 2 set 容器 & 迭代器分类 (BV1m34y157wb) 3. string , string_view , const char * 的爱恨纠葛 (BV1ja411M7Di) 4. 万能的 map 容器全家桶及其妙用举例 ( 本期 ) 5. 函子 functor 与 lambda 表达式知多少 6. 通过实战案例来学习 STL 算法库 7. C++ 标准输入输出流 & 字符串格式化 8. traits 第一章:读取与写入 我负责监督你鞋习 ! 我负责监督你鞋习 ! map 查找元素的两个接口 • map 提供了两个查找元素的接口,一曰 [] ,二曰 at 。 • 那么他们两个又有什么区别呢?很多新手都分不清他俩,可能只认识 [] 。 读取 map 元素 • mapm; • 读取 map 中指定键值的元素有两种方法。 • val = m[“key”]; 0 码力 | 90 页 | 8.76 MB | 1 年前3Conan 2.5 Documentation
capability of being able to sign and verify software packages. This extension point will soon get a plugin implementation based on Sigstore. 2.14 Package immutability optimizations The thorough use of revisions come for different configurations, so the only task that the build() method has to implement is to map the settings to the different URLs. We only need to call conan create with different settings to generate convenient to, for example, keep better traceability of our tools. In this case, the compatibility.py plugin can help to locate the best matching binary in case Conan doesn’t find the binary for our specific0 码力 | 769 页 | 4.70 MB | 1 年前3Conan 2.4 Documentation
capability of being able to sign and verify software packages. This extension point will soon get a plugin implementation based on Sigstore. 2.14 Package immutability optimizations The thorough use of revisions come for different configurations, so the only task that the build() method has to implement is to map the settings to the different URLs. We only need to call conan create with different settings to generate convenient to, for example, keep better traceability of our tools. In this case, the compatibility.py plugin can help to locate the best matching binary in case Conan doesn’t find the binary for our specific0 码力 | 769 页 | 4.69 MB | 1 年前3Conan 2.1 Documentation
capability of being able to sign and verify software packages. This extension point will soon get a plugin implementation based on Sigstore. 2.14 Package immutability optimizations The thorough use of revisions come for different configurations, so the only task that the build() method has to implement is to map the settings to the different URLs. We only need to call conan create with different settings to generate convenient to, for example, keep better traceability of our tools. In this case, the compatibility.py plugin can help to locate the best matching binary in case Conan doesn’t find the binary for our specific0 码力 | 694 页 | 4.13 MB | 1 年前3Conan 2.9 Documentation
capability of being able to sign and verify software packages. This extension point will soon get a plugin implementation based on Sigstore. 2.14 Package immutability optimizations The thorough use of revisions come for different configurations, so the only task that the build() method has to implement is to map the settings to the different URLs. We only need to call conan create with different settings to generate convenient to, for example, keep better traceability of our tools. In this case, the compatibility.py plugin can help to locate the best matching binary in case Conan doesn’t find the binary for our specific0 码力 | 795 页 | 4.99 MB | 10 月前3Conan 2.8 Documentation
capability of being able to sign and verify software packages. This extension point will soon get a plugin implementation based on Sigstore. 2.14 Package immutability optimizations The thorough use of revisions come for different configurations, so the only task that the build() method has to implement is to map the settings to the different URLs. We only need to call conan create with different settings to generate convenient to, for example, keep better traceability of our tools. In this case, the compatibility.py plugin can help to locate the best matching binary in case Conan doesn’t find the binary for our specific0 码力 | 785 页 | 4.95 MB | 10 月前3Conan 2.10 Documentation
capability of being able to sign and verify software packages. This extension point will soon get a plugin implementation based on Sigstore. 2.14 Package immutability optimizations The thorough use of revisions come for different configurations, so the only task that the build() method has to implement is to map the settings to the different URLs. We only need to call conan create with different settings to generate convenient to, for example, keep better traceability of our tools. In this case, the compatibility.py plugin can help to locate the best matching binary in case Conan doesn’t find the binary for our specific0 码力 | 803 页 | 5.02 MB | 10 月前3Conan 2.0 Documentation
capability of being able to sign and verify software packages. This extension point will soon get a plugin implementation based on Sigstore. 2.14 Package immutability optimizations The thorough use of revisions come for different configurations, so the only task that the build() method has to implement is to map the settings to the different URLs. We only need to call conan create with different settings to generate convenient to, for example, keep better traceability of our tools. In this case, the compatibility.py plugin can help to locate the best matching binary in case Conan doesn’t find the binary for our specific0 码力 | 652 页 | 4.00 MB | 1 年前3Conan 2.3 Documentation
capability of being able to sign and verify software packages. This extension point will soon get a plugin implementation based on Sigstore. 2.14 Package immutability optimizations The thorough use of revisions come for different configurations, so the only task that the build() method has to implement is to map the settings to the different URLs. We only need to call conan create with different settings to generate convenient to, for example, keep better traceability of our tools. In this case, the compatibility.py plugin can help to locate the best matching binary in case Conan doesn’t find the binary for our specific0 码力 | 748 页 | 4.65 MB | 1 年前3Conan 2.2 Documentation
capability of being able to sign and verify software packages. This extension point will soon get a plugin implementation based on Sigstore. 2.14 Package immutability optimizations The thorough use of revisions come for different configurations, so the only task that the build() method has to implement is to map the settings to the different URLs. We only need to call conan create with different settings to generate convenient to, for example, keep better traceability of our tools. In this case, the compatibility.py plugin can help to locate the best matching binary in case Conan doesn’t find the binary for our specific0 码力 | 718 页 | 4.46 MB | 1 年前3
共 222 条
- 1
- 2
- 3
- 4
- 5
- 6
- 23