Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in c++20

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

C++20 set for intellisense in vscode but __cplusplus does not

How can a sprintf-like function in C++20/23 verify that the number of format specifiers matches the number of provided arguments at compile time?

`using` inside a namespace in C++ module is not limited to the namespace

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

Can a class be indestructible (have no destructor)?

c++ language-lawyer c++20

How to safely clock_cast days?

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

Whose responsibility is it to destroy a C++20 coroutine that throws from its initial suspend?