Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in language-lawyer

Guaranteed memory layout for standard layout struct with a single array member of primitive type

What does "Assignable" really mean?

c++ c++11 language-lawyer

Is it illegal to invoke a std::function<void(Args...)> under the standard?

Using alias templates for sfinae: does the language allow it?

Is decltype(auto) for a structured binding supposed to be a reference?

Does a phantom type have the same alignment as the original one?

Is the Empty Base Class Optimization now a mandatory optimization (at least for standard-layout classes)?

c++ c++11 language-lawyer

Self-initialization of a static constexpr variable, is it well-formed?

What expressions create xvalues?

Does C++11 require this lambda to be declared mutable?

Can a void-returning function g return f(); when f returns void?

c language-lawyer c11

Can the "main" function be declared with the "noexcept" specifier?

Why is this overload of a conversion operator chosen?

Using std::visit on a class inheriting from std::variant - libstdc++ vs libc++

C++ multiple inheritance order

Why is `make_unique<T[N]>` disallowed?

The "(optional)" marker in cppreference.com documentation

c++ language-lawyer

Can std::vector move its data to another address at emplace_back() even though there is still unused space according to capacity()?

Use cases for std::add_const and similar

c++ c++11 language-lawyer

What does the C++ standard say about std::vector<int> v1,v2; std::distance(v1.begin(),v2.begin())?