Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in c++20

Deleted function template in requires-expression, differing compiler behavior

How do you do bounds checking with std span?

How to get away with using designated initializers in C++17? Or, why is it seemingly safe to use them, if it's really not?

c++20 msvc error c3861 base member not found

c++20 visual-studio-2022

Does GCC or Clang implement chrono::current_zone()?

c++ g++ c++20 clang++

What is the difference between lambda capture [&args...] and [...args = std::forward<Args>(args)]

Structure bindings not expected to compile in C++17, but it does anyway

c++ c++17 g++ c++20

How to test if member is integral in concept? [duplicate]

c++ c++20

C++ 20 Modules: submodules vs module partition difference

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

"const std::stop_token&" or just "std::stop_token" as parameter for thread function?

c++ multithreading c++20

CUDA 12 C++20 support with CMake not working

Why std::tuple comparison calls operator bool when operator< overload is provided

c++ templates c++20

What is the best approach for using std::ranges/std::views with std::expected in C++23?

c++ c++20 c++23

How to convert `const std::vector<T*>` into `std::span<const T*>`

c++ c++20 std std-span

How to restrict lambda parameter's parameter to only be a reference?

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

concepts return type requirement syntax two versus one template parm

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

How to stream out a C++ `zoned_time` constructed with a user-written `time_zone`

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

Qualified dependent name lookup with injected-class-name of base class

c++ c++20

Can a concept be checked against incomplete type

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