Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in language-lawyer

Why does copy initializaton require destructor in C++17 with guaranteed move/copy elision?

Would it be legal to implement overloads of std::sort with radix sort?

Perplexing non-trailing parameter pack behaviour

Should a using command issue a warning when using a reserved identifier?

Where should the definition of an explicit specialization of a class template be placed in C++?

Plain C polymorphism, type punning, and strict aliasing. How legal is this?

Does stream::seekoff update the input sequence?

Function template overloading with variadic templates: Intel c++ compiler version 18 produces different result from other compilers. Is intel wrong?

Are floating point operations resulting in infinity undefined behavior for IEC 559/IEEE 754 floating-point types

Has it been established if move/copy constructor/assignment are "deleted" or "not declared" in C++17?

c++ language-lawyer c++17

Is it possible to initialize member variable (or base class) of a non-copyable type?

c++ c++17 language-lawyer

How do one use `offsetof` to access a field in a standard conforming way?

MSVC brace initialization with doubles appears to violate the standard?

Is it safe to cast to a class that has the same data member layout, but a different implementation?

Can I always safely cast into the underlying type of a fixed (scoped) enumeration?

RVO overwriting value in parameter before return

c++ language-lawyer c++03

Using std::launder to get a pointer to an active object member from a pointer to an inactive object?

How are multiple prior declarations resolved for a new declaration with extern?

c language-lawyer

How could one copy union simple members with memcpy?

What does POSIX mean when it says stderr is expected to be open for reading and writing?