Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in c++20

CTAD rules regarding implicit deduction guides

c++ language-lawyer c++20 ctad

What's the return type of std::ranges::max_element?

c++ c++20 std-ranges

How to constrain class template by disabling type argument of specialization itself, and why does(n't) it work?

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

Why does the C++ standard not change std::set to use std::less<> as its default template argument?

Use of both predicates and projections in ranges

c++ c++20 std-ranges

Initiate an async operation with a result

How to write an infinite sequence compatible with std::ranges?

c++ c++20 std-ranges

Why does GCC generate different types for the same lambda in a template context?

c++ c++20

Joining a range of strings with a delimiter using standard ranges

c++ c++20 std-ranges

Understanding concepts. Check if a member is static

What is the design reason template overloading of structs is not allowed in C++20?

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

How to control the displayed precision when sending `std::chrono::locale_time` to a c++ stream?

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

Why do designated initializers zero-initialize the data members?

Dynamic dispatching of different SIMD implementations in header-only code. Possible at all?

Inheritance and conditionally explicit constructors

Splitting a string_view using ranges

c++ c++20 std-ranges

Understanding return type of std::ranges::sort with temporary and prvalue arguments

Cannot construct `std::span<T>` from `const std::vector<T>&`

c++ c++20 stdvector std-span

How to make join view in C++ preserving random access?

c++ c++20 std-ranges

Spaceship comparison contradicts equality operator