![](https://img-blog.csdnimg.cn/20201014180756918.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
C++11
wang13342322203
这个作者很懒,什么都没留下…
展开
-
C++11 之 override
原地址:https://www.cnblogs.com/xinxue/p/5471708.html1 公有继承 公有继承包含两部分:一是"函数接口"(interface),二是"函数实现"(implementation) 如 Shape 类中,三个成员函数,表示三种继承方式:class Shape {public: virtual void Draw(...转载 2019-06-05 21:56:16 · 997 阅读 · 0 评论 -
C++ unordered_set查找元素(find查找元素)详解
原地址:http://c.biancheng.net/view/549.html调用 unordered_set 的 find() 会返回一个迭代器。这个迭代器指向和参数哈希值匹配的元素,如果没有匹配的元素,会返回这个容器的结束迭代器。例如:std::pair<string, string> person {"John", "Smith"}; if(names.fi...转载 2019-06-04 15:47:28 · 14129 阅读 · 0 评论