Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in c++20

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

#include of a HTTP URL in C++

Can CTAD be used inside a member of the template class?

c++ c++20 class-template ctad

How to do chained coroutines in C++ 20

c++ c++20 c++-coroutine

Can c++ std::source_location be used with a conversion operator?

c++ c++20

Requires expression with local parameter of void type

Does operator < need to be declared before calling std::lexicographical_compare

c++ language-lawyer c++20

What causes this code `Segmentation fault` after a coroutine call `promise_type::return_value()`?

How to create C++20 concept for typelist predicate?

c++ c++20

How to use std::format to format all derived class of the same base class?

c++ formatting c++20 fmt