Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in language-lawyer

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

retrieving a runtime array from a pointer to its storage?

memcpy zero bytes into const variable - undefined behavior?

The presence of both operator == and operator != breaks some concepts

Does C language spec guarantee mapping of Unicode code points to numerical wchar_t values?

Can reflection statements be directly used in if-constexpr?

If a lambda is declared inside a default argument, is it different for each call site?