Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in language-lawyer

Difference between GCC and CLANG about using-directive scope in C++ modules

p1 and p2 are pointers to ints, if p2>p1 is valid, is p2-p1 valid?

Are signed, unsigned, long and short all valid types in all versions of C and C++?

c++ c language-lawyer

What is the standard rule on arithmetic operations when storing temporary values to a certain data type?

Return from function using copy-list-initialization, no copy/move constructor needed - Where's it stated in C++ 11 standard?

c++ c++11 language-lawyer

Hiding names with 'using' directive [duplicate]

c++ language-lawyer

Constructor call sequence [duplicate]

Does the comma operator odr-use its arguments?

Swapping `std::aligned_storage` instances containing non-trivially-copyable types - undefined behavior?

Efficient type punning without undefined behavior [duplicate]

When is reinterpret_cast UB?

What in the C standard allows compilers to optimize `(((char *)p - 1) == NULL` to false?

Do bound functions support proper tail calls in ES6?

Is it undefined behaviour to not call the destructor of an object?

Is this list-initialization well-formed in C++20 and later?

"The implementation may assume X" implies undefined behavior when X does not hold?

Should I avoid static constexpr local variables? If so, why?

Why do we need the highlighted sentence below in [dcl.init]/(6.2)?