Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in language-lawyer

Copy-initialization of array type

c++ language-lawyer c++20

Construct an empty object without the default constructor

Conversion rank of bit-precise integers

c language-lawyer bitint

Can I access 'this' from a constructor's function-try handler?

c++ language-lawyer

Dynamic arrays in C++ without Undefined Behavior

Accessing an array out of bounds, but returning earlier - UB?

c++ 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?