Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in language-lawyer

constructor delegates to itself in g++ & clang++

Does joining a member thread accessing other members of its parent class in the parent's destructor result in undefined behavior?

Is running a binary generated from a code with "constraint violation" actually undefined behaviour?

c language-lawyer

Why doesn't this assignment throw a ReferenceError?

cin overwriting my initialized value when it reads wrong type? [duplicate]

c++ c++11 language-lawyer cin

Initializing a vector from iterators of a container of a different type

What does POSIX mean by "two's complement representation" in stdint.h?

c posix language-lawyer

Is reading one-past-the-end pointer allowed in a constant expression when short-circuit disable its evaluation

C++ nrvo/copy elision with return statement in parentheses

Is shifting std::bitset<N> more than N positions undefined behavior?

Can anyone show an example where this precedence matters?

Where in the C++ standard does it state that the default constructor is not generated when the copy constructor is deleted?

Was `long` guaranteed to be as wide as `size_t`

c language-lawyer c89

Different behavior observed with constexpr auto/char-array variable

Integer overflow and order of operations

Is `free(a_comparable_pointer)` well defined or UB?

c language-lawyer

Invoking a static member function on non-existing object

c++ static language-lawyer

Taking the address of a function from within that function

c language-lawyer

Lifetime of a temporary captured by reference in a closure stored in a class

Is writing then reading different union members undefined according to the C standard? [duplicate]

c language-lawyer