C++
FatherOfCodingMan
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
刷一下leetcode算法题,寻找两个正序数组的中位数
寻找两个正序数组的中位数 class Solution { public: double findMedianSortedArrays(vector<int>& nums1, vector<int>& nums2) { int len1 = nums1.size(); int len2 = nums2.size(); int mid = (len1 + len2) / 2; bo原创 2021-03-09 17:25:04 · 131 阅读 · 0 评论 -
c++新特性20、17、14、11
# C++20语言特性 翻译自https://github.com/AnthonyCalandra/modern-cpp-features ## Concepts *Concepts* are named compile-time predicates which constrain types. They take the following form: Concepts被称为编译时谓语,用于约束类型。有如下格式: ```c++ template < template-parameter-翻译 2020-07-01 23:14:22 · 3557 阅读 · 0 评论
分享