Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in c++20

C++20 ranges and sorting

c++ sorting c++20 std-ranges

In C++20, is a macro considered "active" if it's #undef'd, then #define'd again?

c++ language-lawyer c++20

Why does this code using designated initializers in function parameters goes from ambiguous to not compiling when removing one function?

Structured binding violations

Undefined behaviour on std::prev for transform-view

Does designated initializer of sub-aggregate require curly braces?

Aggregate initialization, set member pointer to same struct member

c++ c struct c11 c++20

Should this be a constexpr or not?

c++ constexpr c++20

Can concepts be used to put a constraint on values as well as types?

c++ templates c++20 concept

Are captureless lambdas structural types?

Are left out fields by C++ 20 designated initialization guaranteed to be zero initialized?

c++ c++20

Why does C++20 not allow to call a generic lambda with an explicit type? [duplicate]

c++ lambda c++20

C++20: difference between [[likely]], [[unlikely]] and __builtin_expect?

c++ c++20 branch-prediction

limits and uses of C++20 template lambas

Why can I invoke == with a defaulted <=> but not a user-provided one?

how to make argument deduction work for derived class which using base class constructor?

c++ c++17 c++20

Prevent fmt from printing function pointers

c++ c++20 fmt

c++20 ranges view to vector

c++ c++20

Function template accept and return different lambdas

c++ c++20

Argument-dependent lookup for templates in C++20