Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in c++20

`std::lock_guard` for `std::counting_semaphore` and `std::binary_semaphore`

c++ locking c++20 semaphore raii

Specializing types from namespace std based on user-defined concepts

c++ c++20

Can switch default statement be optimised out for enum

Compiler wrongfully regards variable as rvalue

c++ g++ c++20 compiler-bug

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