Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in language-lawyer

Why can I "captureless-capture" an int variable, but not a non-capturing lambda?

Should the preprocessor arithmetic match the architecture targeted by the compilation?

Is Byte Really The Minimum Addressable Unit?

Why are C++ array index values signed and not built around the size_t type (or am I wrong in that)?

Which elements of operator-or-punctuator are punctuators?

Aren't all expressions during constant evaluation also constant expressions?

Expression without parentheses works in one case but not in other

In C++ can you use one empty type as storage for another?

Is the alignment requirement for incomplete `struct X` and `struct Y` the same?

C preprocessor: what is the motivation behind treating undefined macro as 0?

What is the assignment-expression in array brackets in C?

c language-lawyer

Is MSVC correct in refusing to compile this code?

c++ c++17 language-lawyer

When the object destructed while I pass the argument by-value?

Is A::member of vector of variant of A undefined behaviour? [duplicate]

c++ c++17 language-lawyer

Is it allowed to call a non-static member function in a default member initializer?

Does casting a magic address to a pointer in C violate strict aliasing rules?

Why doesn't "Guaranteed Copy Elision" mean that push_back({arg1, arg2}) is the same as emplace_back(arg1, arg2)?

Operator precedence is confusing in this case

c language-lawyer

Is C scanf() prohibited from checking that integers are in range?

Is int a = ++i + ++i undefined behaviour?