Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in language-lawyer

Is a conversion to `void *` required before converting a pointer to `uintptr_t` and vice versa?

Is it legal to call memchr with a too-long length, if you know the character will be found before reaching the end of the valid region?

c c++11 language-lawyer c11

GCC and ADL for operators in expressions

Is the address of a std::array guaranteed the same as its data?

Complex dynamic_cast in c++

Does shared_ptr still own its object when calling the deleter?

Pre C++20 bit field zero-initialization

Why isn't it undefined behaviour to destroy an object that was overwritten by placement new?

C++ template template argument types deduction

Access an array from the end in C?

Does `decltype` give me an object's static type, or its runtime type?

sigsuspend vs additional signals delivered during handler execution

Is it legal to use placement new on initialised memory?

Fold expressions in MSVC

Why deleting void* is UB rather than compilation error?

treating memory returned by operator new(sizeof(T) * N) as an array

Is (int32_t) 255 << 24 undefined behavior in gcc (C++11)?

Inconsistent truncation of unsigned bitfield integer expressions between C++ and C in different compilers

Dependent name lookup in function template: clang rejects, gcc accepts

technical legality of incompatible pointer assignments

c gcc clang language-lawyer c11