Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in c++23

Can std::ifstream and std::ofstream be used with a std::string_view filename argument?

c++ c++23

std::flat_map, std::flat_set and reserving storage?

c++ memory stl std c++23

Why does std::format in LLVM libc++ choke on format strings with ":}>" in them?

c++ c++23 stdformat

Nested monadic operations produces unreadable code

c++ monads c++23

Why doesn't std::ranges::contains try using member contains just like std::ranges::begin tries using member begin? Or does it?

Why does C++23 if consteval not allow different return types as a similar if constexpr would do?

c++ language-lawyer c++23

Which part of the C++ standard forbids destroying an object twice?

Can you overwrite the memory of a union, if no members are active?

How can multiple std::expected<void, E> values be combined correctly with intuitive syntax?

c++ c++23 std-expected

Should std::get<T&>(tuple) work for zip_view's output?

c++ std c++20 c++23

Is it possible to use `std::index_sequence` in a concept?

How to resolve 'weak-def symbol not found' error run-time error for a C++23 program that uses std::println and omp?

Is a revision of the std::allocator interface planned for future C++ versions?

g++ "generator: No such file or directory" - which version of GCC supports the <generator> header?

c++ g++ generator c++23

Why does a recursive lambda with deduced return type not work?

Check at compile time that a function call triggers a `static_assert(false)`

std::apply to a custom, tuple-like type

c++ c++-concepts c++23

What is the rationale behind the iterator/sentinel of range adaptors providing the base() accessor?

c++ c++20 std-ranges c++23

In what situations does `ranges::for_each` work but `for (auto&& elt : rg)` fail?

c++ std-ranges c++23

C++23: How to erase a subrange from vector

c++ std-ranges c++23