Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in language-lawyer

realloc(ptr, 0) in C23 - now what?

c language-lawyer realloc c23

Why do compilers allow a data member have the same name as the class?

What is the significance of 'strongly happens before' compared to '(simply) happens before'?

Is the `this` argument evaluated before or after other member function arguments?

Type of an expression

c++ c language-lawyer

Does idiomatic initialization of a dynamic array invoke Undefined Behavior?

Does the definition int a = 0, b = a++, c = a++; have defined behavior in C?

using throw in a constexpr or a consteval function in order to generate compile-time error

Can you call virtual methods on a base class in a union when a derived class is active?

Why must C++ function parameter packs be placeholders or pack expansions?

Why trivial copyable class require the destructor must be trivial

c++ language-lawyer

Are multiple identical prototypes legal?

Is const_cast(this) with a write operation undefined behaviour, if the actual object is non-const?

c++ language-lawyer

Why does the standard require only input iterators for std::distance, rather than forward iterators?

New-expression with consteval constructor in constexpr context

How does inline affect member functions in module interfaces?

Redeclaration of explicitly defaulted comparison operator makes it undefined

Comparison operator with explicit object parameter of not class type

Towards strictly compliant usage of container_of