Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in language-lawyer

Why is the `Idx` type parameter of the `Index` trait allowed to be unsized?

rust language-lawyer

Does `printf("%.-1s\n", "foo")` invoke undefined behaviour?

Reference initialization and constant expressions

c++ language-lawyer c++17

Is it ill-formed to attempt to access private member of a class to sfinae out overload?

Why does GCC diagnose a unused variable for structured bindings while Clang doesn't?

Javac missing optimization for effective final

Partial Specialization of Variable Templates

Forward declaration of a class nested in in a class template, is it legal?

Template instantiation behaviour changes when using explicit namespace qualifier?

Reference to uninitialized memory. Undefined behavior?

c++ language-lawyer

How does binary I/O of POD types not break the aliasing rules?

decltype with function template which has default argument make the confused result(a funny problem or gcc's bug)

Can a static variable be initialized with a static constant?

c language-lawyer

clang says call to void consteval function is not a constant expression

MSVC Bug? Overloaded member not found for constrained function

Why does bool(val) prefer double implicit conversions over val.operator bool()?

Nested classes with forward declaration cause an error in clang++, but pass without warning on g++

What is the meaning of Note 1 in the C++ class member name lookup rules?

c++ language-lawyer c++23

Is it valid to overload function with extra non-deducible template parameter?

Ambiguity in case of multiple inheritance and spaceship operator in C++20