Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in language-lawyer

Deducing first template argument with other template parameters defaulted

Does the behavior of guaranteed copy elision depend on existence of user-defined copy constructor?

Understanding declval optimized implementation

Is std::abs(0u) ill-formed?

Function overload for string literals lvalue and rvalue reference

Different versions of g++ have inconsistent result of overload resolution

Does ISO C allow aliasing of the argv[] pointers supplied to main()?

Is it possible to return an instance of a non-movable, non-copyable type?

c++ language-lawyer

Explicit specialization in non-namespace scope does not compile in GCC

Member initialization for non-copyable variable in C++17

shorthand property name with *this*

Will a class that is declared within a member initializer of a constructor of another class be visible outside it?

c++ language-lawyer

Arrow (->) operator precedence/priority is lowest, or priority of assignment/combined assignment is lowest?

Can memcpy be used for type punning?

Is jumping over a variable initialization ill-formed or does it cause undefined behaviour?

Why does std::optional::operator=(U&&) require U to be a non-scalar type?

Making `std::get` play nice with SFINAE

Why there is no compiler error when return statement is not present?

Is there a technical reason for not allowing a using declaration to make a function name accessible under a different name?

c++ language-lawyer

Why does mismatched prototype and definition with empty argument list give different results in GCC and Clang?

c language-lawyer c11