Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in 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

Implied meaning of ordering types in C++20

Under what circumstances is ref_view{E} ill-formed and subrange{E} not?

c++ c++20 range-v3 std-ranges

Can trim of a string be done inplace with C++20 ranges?

c++ c++20 std-ranges

Using C++20 in the nvcc compiler for cuda

c++ cuda c++20 nvcc

O(1) find/contains in std::ranges::views::iota

c++ c++20 std-ranges c++23

Are variable templates declared in a header, an ODR violation?

c++ templates c++17 c++20

The deduction guide for std::array

Text formatting using std::format for enums

c++ c++20 fmt