Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in language-lawyer

My assumption is that the code below ill-formed NDR? But why?

c++ language-lawyer

reinterpret_cast member function pointer to void(*&)()

Same clang, different results for std::initializer_list program with -std=c++14/-std=c++17

Is converting an integer to a pointer always well defined?

How and where is it possible that a variable does not has an associated name in C++?

Undefined Behaviour in C99 related to adjusted parameters

In C++20, is a macro considered "active" if it's #undef'd, then #define'd again?

c++ language-lawyer c++20

Do deduction guides require noexcept specifiers?

Why does this code using designated initializers in function parameters goes from ambiguous to not compiling when removing one function?

C++17 conditional (ternary) operator inconsistency between MSVC and Clang/GCC

Does any change in program state constitute observable behavior?

C11 thread-safety with respect to functions that return pointers to static buffers

Do I still get default copy constructor and operator= if I define ones with non-const arguments?

Is scanf guaranteed to not change the value on failure?

c scanf language-lawyer

Constexpr compound assignment operator in clang and gcc

Confusion around function call resolution

Does the following actually violate the ODR?

Are checked guard parameter packs cause of ill-formed programs?

When an `int` at max value and tested with with postfix ++, is code well-defined?

c language-lawyer

Are local class rules aligned to c++14 return type deduction?