Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in c++17

Type deduction for variadic templates

How to init base class staic inline data member in derived class?

Why can a lambda passed as an argument be used in a constant expression?

c++ lambda c++17 constexpr

template template parameter deduction: three different compilers three different behaviors

How do you obtain the instantiated CXXRecordDecl of a templated class in Clang?

How to store class object having string in binary file?

c++ c++11 c++17

How can I move or assign one vector into another depending of their type using if constexpr?

Integer initialization of enum outside of range

c++ enums c++17

Range/Loop through N variables in [modern] C++

c++ c++11 boost c++14 c++17

How to get return type and parameter type of a generic lambda?

Compiler discrepancy with simple meta function

c++ c++17

Can I have a std::optional<T> if T is neither constructible nor copyable nor movable?

c++ c++17 stdoptional

Error with `std::reduce()` method in C++17 using GNU G++17 and Clang++ 17/20 compilers

c++ gcc c++17 clang

A variable/data member of a class declared constexpr in C++17 is also static?

static c++17 constexpr

Can we take a const ref of a substring?

Hiding template arguments in std::variant

c++ c++17

Using enum class values in constexpr branches