Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in c++20

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

Why do lambda functions need to capture [this] pointer explicitly in c++20?

c++ lambda this c++20 capture

What is "[core] language undefined behavior" as opposed to "undefined behavior"?

is std::format at runtime possible?

c++ c++20 stdformat

Why does std::filter_view not have a way to eagerly evaluate it and convert it to view whose begin in const?

c++ c++20 std-ranges

Given the year, how do I compute when Easter is, using chrono

c++ c++20 c++-chrono

Why can't I pass a std::views::join by const reference?

c++ c++20 std-ranges