Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in language-lawyer

Most efficient standard-compliant way of reinterpreting int as float

Does this really break strict-aliasing rules?

Is memcpy(&a + 1, &b + 1, 0) defined in C11?

c language-lawyer c11 gcc4.9

Should reading negative into unsigned fail via std::cin (gcc, clang disagree)?

Why can C++ deduce template arguments on the right side of an assignment operator from the left side?

g++ and clang++ different behaviour with recursive initialization of a static member

C++ decltype and parentheses - why?

Does the C++ standard guarantee that a failed insertion into an associative container will not modify the rvalue-reference argument?

"is not required" == undefined behavior?

C standard compliant way to access null pointer address?

Why doesn't the standard consider a template constructor as a copy constructor?

Why does not a template template parameter allow 'typename' after the parameter list

There seems to be a contradiction in §12.3.2/1 in the C++11 Standard

c++ c++11 language-lawyer

Difference of type between "fun" and "&fun"?

Differences between std::is_integer and std::is_integral?

Is the compiler allowed to optimise out private data members?

In which versions of the C++ standard does "(i+=10)+=10" have undefined behaviour?

What was the design rationale for making void not a primitive type?

c# language-lawyer

What's the reason for letting the semantics of a=a++ be undefined?

Can ptrdiff_t represent all subtractions of pointers to elements of the same array object?