Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in c++20

Template specializations in friend declarations post C++20

Why does C++ have no std::invocable_r concept?

Why does std::barrier allocate?

c++ multithreading std c++20

Can I write a C++ concept that requires a function-template to which some enum value must be supplied as a template parameter?

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

range parameter for any iterable input with properly convertible elements

How to get correct length of std::u8string in C++?

c++ string unicode c++20

What does the To[1] mean in the concept is_convertible_without_narrowing?

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

what is the way to remove the first element from a std::span<T>?

Requires compile with msvc but rejected by gcc

Why can T not be deduced for std::span<T> when passing a std::vector?

What is the most efficent way to convert a QStringView to a std::string?

c++ qt c++20 stdstring qt6

How to make ranges::binary_search (heterogeneous search in particualar) work with references

c++ c++20 std-ranges

Clang rejects inexplicit enum value in constexpr function (gcc works)

c++ language-lawyer c++20

Can't import both sstream and iostream in C++20?

c++ c++20 iostream sstream

C++17 operator==() and operator!=() code fails with C++20

Converting a pointer value that is returned from a malloc operation that creates an array object to the element type results in UB?

c++ language-lawyer c++20

Change clang default c++-version (mode)

c++ macos clang c++20