Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in language-lawyer

Is reading a variable outside its lifetime during constant evaluation diagnosable?

Overloading static and non-static member function with constraint

Intel C++ compiler (icpc 14.0): "a derived class is not allowed here"

Does `const &&` bind to all prvalues (and xvalues)?

Can a throw or delete expression ever be dependent?

Variadic template parameters of one specific type

Why C++ does not allow function parameters used for default values latter parameters?

Using argc in a constexpr, is it strictly required that any sub-expression involved be a constant expression?

Differences of the interpretation of a non-dependent construct between definition context and point of instantiation in c++

Calling a constexpr method through a reference - is the result a constant expression?

list initialization of aggregates: when can it invoke copy constructor?

Does this C inheritance implementation contain undefined behavior?

c struct 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