Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in language-lawyer

c++ access static members using null pointer

What is the rationale for limitations on pointer arithmetic or comparison?

Is it a missed optimization, when a compile-time known reference takes space in a struct?

Is this-> mandatory to access Base<T> identifiers from derived classes?

What is the difference between a sequence point and operator precedence?

c++ c language-lawyer

Is it undefined behaviour if multiple operands in a compound expression modify the same object?

The 'this' pointer in the initialization list of the constructor

Do we need to use std::launder when doing pointer arithmetic within a standard-layout object (e.g., with offsetof)?

operator++ as both a postfix and prefix doesn't work with clang

C++ inconsistency between gcc and clang

lambda as a static member

How can a conforming C++ implementation indicate that it doesn't know the current date and time?

Is void{} legal or not?

What are the Constraints in Standard C?

c standards language-lawyer

Class can't access its own private static constexpr method - Clang bug?

Why is std::hash not guaranteed to be deterministic?

c++ hash language-lawyer std

What precautions should I take to make a memory pool that does not invoke undefined behavior?

Aliasing T* with char* is allowed. Is it also allowed the other way around?

Does the C standard require the size of an array of n elements to be n times the size of an element?

c arrays size language-lawyer

C++: Can an unused lambda explicit capture be optimized out?