Bhupesh-V/30-seconds-of-cpp

New Additions - 30C++ 2.0

Bhupesh-V opened this issue ยท 4 comments

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.

  • 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

Also consider adding all 11, 14 and 17 features as well (expect the stl).

  • 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++

@Bhupesh-V I propose on using modules and ranges when C++ 20 comes and remove header files.