Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in language-lawyer

Nested call of consteval functions with a reference argument

Implicit instantiation of function templates when taking their address

When instantiating a template, should members of its incomplete argument types be visible?

What makes enum -> int a better conversion than enum -> unsigned?

Is it legal to modify a dynamically-allocated `const` object through a re-used non-`const` name?

C++11 std::is_convertible behaviour with private copy constructor

Example of entity declared in a anonymous namespace that has external linkage

Scope of declarations in the body of a do-while statement

The difference between declaring a name, introducing a name, and declaring an entity

Why does g++ fail init of std::function<> from type with conversion operator and inaccessible function call operators?

c++ c++11 gcc 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