c++17
-
C++17使用折叠表达式实现一个IsAllTrue函数的过程
目录前言初级版本——基于初始化列表实现进阶版本——基于折叠表达式实现折叠表达式(Fold expressions)基于一元右折叠的IsAllTrue函数使用type traits 进一步优化函数测试知识总结参考前言[详细]
2024-09-09 10:27 分类:开发 C++11、C++14、C++17、C++20常用新特性
目录C++11C++14C++17C++20C++11 自动类型推断(auto关键字):C++11引入了auto关键字,可以根据变量初始值自动推导编程客栈出变量类型。例如:[详细]
2023-03-11 10:38 分类:开发What are Aggregates and PODs and how/why are they special?
This FAQ is about Aggregates and PODs and covers the following material: What are Aggregates? What are PODs (Plain Old Data)?[详细]
2023-02-17 00:17 分类:问答How can i get rid of 0xFEEFEE in VC
I m programming Cfor anassingment in VC++ 2008. Isimulate adjList forgraph implementation. i can re开发者_运维百科adly add edge between two vertex and print the graph.[详细]
2022-12-22 18:15 分类:问答Compiling C++ with `.hpp` in includes folder and `.cpp` in sources folder in VS Code using Code Runner
So I\'m using Code Runner extension by Jun Han to compile and run my C++ Code in VS Code (in Windows), My workspace folder looks like this[详细]
2022-12-07 22:43 分类:问答Visual studio 2022 cd command error , what should be done [closed]
Closed. This question needs debugging details. It is not currently accepting answers. Edit the question to include desired behavior, a specific problem or error, and the shortest code nece[详细]
2022-12-07 19:06 分类:问答Is c++17 & c++20 slower than c++11 or earlier version? [closed]
Closed. This question is not reproducible or was caused by typos. It is not currently accepting answers.[详细]
2022-12-07 18:58 分类:问答Simplifying the use of ref qualifiers in c++20
#include <string> struct S { std::string s_; std::string_view get() const & { return s_; } std::string_view get() const && = delete;[详细]
2022-12-07 18:31 分类:问答