Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in c++20

How to recover offset in buffer of emplaced object from object pointer

c++ language-lawyer c++20

What does integer-class type mean in C++ since integer is a built in type

c++ types c++20

Is it UB to keep a pointer to a destroyed object and then use it to access re-created objects, possibly pointing to the first subobject?

c++ c++20 object-lifetime

Why does std::set::contains() call the spaceship operator twice on a target element?

Why setting a value of global array has impact on executable file?

c++ g++ c++20

How can I combine corresponding items from several vectors into a single vector of structs?

c++ c++20 std-ranges

Why is copy assignment of volatile std::atomics allowed?

Does std::construct_at make an array member of a union active?

c++ language-lawyer c++20

What is the file extension naming convention for c++20 modules?

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

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?