Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in c++20

Is `std::map<std::string, int>` faster than `std::map<std::string_view, int>`?

c++ c++20 string-view

Why is the overload for both the == and <=> operator required to overload all comparison operators? [duplicate]

Using ranges::copy_if versus using iterator constructor with views::filter

c++ c++20 std-ranges

Find next weekday using chrono

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

Why can std::vector not accept iota_view iterators of type size_t?

c++ iterator c++20 std-ranges

Why does ranges::for_each return the function?

How can I write an inline recursive lambda in C++?

c++ c++20 c++23

Overload/specialization of a concept

Can I compare two view sentinels?

c++ c++20 std-ranges

How to use co_await operator in C++ the simpliest way?

Converting constructor of templated non-type template parameter

c++ language-lawyer 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