New Additions - 30C++ 2.0
Bhupesh-V opened this issue ยท 4 comments
Bhupesh-V commented
Soon we will be implementing/explaining new C++ features. Some of them are included below, you can comment out your suggestions or chat with us on our Discord Server for more info.
Bhupesh-V commented
- constexpr (C++ 20)
-
reinterpret_cast
(C++ 20) -
std::invoke
-
std::bind_front
- Spaceship Operator <=> (C++ 20)
-
is_constant_evaluated
(C++ 20) - Lambdas
-
std::to_pointer
(C++ 20) - noexecpt
-
std::regex
-
std::string_view
-
std::gcd and std::lcm
-
std::fmin
,std::quoted
,std::future
- static_print
-
std::variant
&std::optional
- Templates in C++
-
this
pointer - Templated/Variadic Templates
- New header dir
utility
- New header dir
unordered_set
- New header dir
string
Delta456 commented
Also consider adding all 11, 14 and 17 features as well (expect the stl).
harshraj22 commented
- My Suggestions:
- Object Oriented Programming (not only inheritance, but also interesting topics like method chaining and this pointer)
- Templates and variadic templates ( quite interesting ) and discussion about issues ( dos and donts ) with using templates with Classes
- Lambda functions
And more such interesting and rarely features of c++
Delta456 commented
@Bhupesh-V I propose on using modules and ranges when C++ 20 comes and remove header files.