Does C++23 guarantee std::launder can be omitted in placement new scenarios?...
Read MoreIs it technically UB to static_cast<A*>(memmove(dst, (void*)src, sizeof(src))) since C++20?...
Read MoreIs a unique_ptr with custom deleter never invoked when initialized with nullptr...
Read MoreIn Rust, is it sound to do place projections on raw pointers whose provenance overlaps a mutable ref...
Read MoreNear constant time rotate that does not violate the standards...
Read MoreIs 'while(1);' undefined behavior in C?...
Read MoreUB or not UB, concurrently operating on static memory in Rust...
Read Morewhy does the returning local variable's address in c++ not crash, but still give undefined behav...
Read MoreDoes the IOC (Implicitly Object Creation) apply to my_alloc wrapping std::malloc?...
Read MoreIs it UB to skip the destructor of a derived class before doing a placement new on a base class?...
Read MoreWhat's the best C++ way to multiply unsigned integers modularly safely?...
Read MoreDoes const char* alias with char*?...
Read MoreIs use of uninitialized static object well-defined in C++?...
Read MoreIs it safe to cast a struct pointer to a different struct pointer having a prefix of elements?...
Read MoreWhy bind member function works after object destruction?...
Read MoreWhy does this implementation of strlen() work?...
Read MoreIs reinterpret_cast between unrelated polymorphic types always UB, even if the v-table layouts match...
Read MoreWhy does flowing off the end of a non-void function without returning a value not produce a compiler...
Read MoreIs it safe to modify std::string while there exists std::string_view pointing to it, but which is no...
Read MoreWhat should happen when printing an uninitialized variable?...
Read MoreType representations and undefined behavior in C...
Read MoreFlexible array member issues with alignment and strict aliasing...
Read MoreIs this use of c_str with exception undefined behavior?...
Read MoreC++23 range-based for loop lifetime fixes interraction with `std::generator` arguments...
Read MoreDoes start_lifetime_as forbid access to original buffer?...
Read MoreWhy does GCC sabotage intentional dereferencing of address zero?...
Read MoreUndefined, unspecified and implementation-defined behavior...
Read MoreIs dereferencing std::span::end always undefined?...
Read MoreWhere in the standard to I read or deduce that vector<T>::operator[] invokes UB for out-of-bou...
Read MoreGetting a mutable element from a std::set, for operations that won't break the order...
Read More