Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in c++20

A class that can be used as a transform view

c++ c++20 std-ranges

User-Defined Deduction Guides in C++20

How to compile/use header units in MSVC from command-line?

std::counting_semaphore: for what is used template param?

c++ gcc c++20 semaphore

Fold expression for a parameter pack with comma operator: How to add additional parameters when expanding the pack?

Is it mandatory to infer the type of the default template argument on each instantiation?

c++ language-lawyer c++20

Is [[likely]] redundant if [[unlikely]] exists in if-else branch in C++20?

How to use C++20 concepts to do different things based on return type of a function?

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

How to gracefully shutdown asio::ssl::stream<asio::ip::tcp::socket> in C++ Asio? (shutdown always throws "stream truncated" exception)

Different results of constexpr function during runtime vs compile time

c++ visual-c++ c++20 constexpr

How to use c++20 <ranges> in xcode 13?

c++ xcode c++20

Can padding of bases or [[no_unique_address]] members be used to store other bases/members?

c++ language-lawyer c++20

How to find the current weekday with std::chrono?

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

Is dereference null pointer UB in C++20?

Out-of-class definition with requires clause is rejected by clang but works with gcc

How to check if a member function or free function is for the exact given type(not any of its base)?

std::any implementation details

c++ language-lawyer c++20

Expand constexpr array into positional function arguments