Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in language-lawyer

Does a vector assignment invalidate the `reserve`?

c++ language-lawyer

Declaring defaulted assignment operator as constexpr: which compiler is right?

Is it legal to use previous function parameter to declare new one?

What is use of the ref-qualifier `const &&`?

Detecting Integer Constant Expressions in Macros

Why doesn't "auto ch = unsigned char{'p'}" compile under C++ 17?

What is the order of destruction of function arguments?

C++ function returning function

Why is this code involving arrays and pointers behaving as it does?

c language-lawyer

The behavior of value-initializing an enum

Modifying a global variable in a constexpr function in C++17

Dynamic allocation of class array with protected destructor

Is it well-defined to hold a misaligned pointer, as long as you don't ever dereference it?

What was the rationale for making `return 0` at the end of `main` optional?

c++ c language-lawyer

Do we still need to write the empty angle brackets when using transparent std function objects?

Incorrect cast - is it the cast or the use which is undefined behavior

Why can constructor syntax not be used with the "unsigned int" type?

Does C make a difference between compiling and executing a program?

c language-lawyer

Is std::lock() ill-defined, unimplementable, or useless?

What is the behaviour on converting a negative floating point value into an unsigned int? [duplicate]