Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in c++20

What is a concrete use case of std::ranges::partial_sort_copy with *different* projections?

Is there an even faster approach than swap-and-pop for erasing from std::vector?

c++ stdvector c++20

Why does the std::sentinel_for concept require default constructability?

Resolving function overload in requires clause

Disabling function that uses concept constrain if concept is not met

c++ c++20 c++-concepts

How to use concept to restrict typename to numeric? C++20 features

Workaround for not being able to move from initializer_list?

Can a user-defined deduction guide be constrained by a trailing requires-clause?

c++ language-lawyer c++20

Unconstrained requires-expression parameter

c++ c++20 c++-concepts

How would you implement a lazy "range factory" for C++20 ranges that just calls a generator function?

c++ c++20 std-ranges

Why does exporting a type alias such as std::vector<std::string> in a module allow use of both std::vector and std::string in some internal partition?

Why chained range views sometimes increase in size?

c++ c++20 std-ranges

Why doesn't MSVC class' find friend function via ADL, preferring calling a lambda?

C++20 requires expression does not catch static_assert

Safely type punning POD-like structures in-place in C++20?

c++ c++20

What is decl-reachable in C++ 20?

Is specializing std::hash for a constrained std::tuple considered undefined behaviour?

c++ c++20

Clang rejects std::array initialisation but gcc accepts

How to define a C++ concept for a range to a std::pair of reference wrappers?

Is there a compact way to make std::optional<T>::value_or work on member variables of T

c++ c++20 stdoptional