Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in language-lawyer

Is a pointer allowed to change value in single inheritance?

[expr.unary.op]/9 seems to imply that the `operator !()` could not be applied to the type A below. But compilers disagree with that

Different behavior among explicit cast, direct initialization and copy initialization

Is it guaranteed that there's no padding between values of the same type?

Generic lambda and its argument as constant expression

Should I fix this obscure but elegant c++ code fragment? [closed]

c++ language-lawyer

Direct-init vs. list-init in array new-expression

SFINAE method completely disables base class's template method in clang

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