Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in c++20

Why sometimes local class cannot access constexpr variables defined in function scope

Why can logical constness only be added to a std::span of const pointers?

c++ c++20 std-span

What would be the C++20 concept for an iterable container?

Recursive template instantiation

c++ c++20

Why is calling the main function supposedly undefined behavior (UB)

c++ language-lawyer c++20

co_await custom awaiter in boost asio coroutine

Having a member variable only conditionally present using requires clause

Any C++20 alternative/tricks to P1061 "Structured Bindings can introduce a Pack"?

c++ c++20

error: zero as null pointer constant while comparing template class using spaceship operator (<=>)

c++ c++20

What is function with multiple variadic args?

c++ c++20

Bug or compilation error with some compilers for simple std::ranges code

c++ c++20 std-ranges

Invalid constraint expression

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

When should i use range adaptors vs range algorithms?

c++ c++20 std-ranges

C++20 Constexpr vector

How to convert a std::vector of unique pointers to a std::span of raw pointers?

What is the difference between non-export declarations and declarations in private module fragment?

c++ c++20 c++-modules

How to use std::views::transform on a vector?

c++ c++20 std-ranges

"std::format"ing std::chrono seconds without fractional digits

How to create a `span<std::byte>` from a single generic object?

c++ c++20