Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in language-lawyer

Does C++ allow comparison between std::span::iterators when one span is a subspan of the other?

Did the rules for nullptr init of unique_ptr change in C++23?

Is it required to explicitly construct each member of a char array?

Template specializations in friend declarations post C++20

Is it legal to forward declare just some, but not all of the overloads?

c++ language-lawyer

Inconsistent behavior of std::common_reference_with on tuples. Which is correct?

Can non-const data be accessed through a const pointer in a union?

Can 2 `restrict`-ed pointers compare equal?

Is this declaration UB?

Is it wrong to allocate enough memory to a union for just one member?

What does the spec mean by the highlighted sentence in §3.3.7/1 item 5?

c++ language-lawyer c++14

C++14 lambda's default argument type deduction depending on preceding arguments

Requires compile with msvc but rejected by gcc

Why destruction order of array elements is not from last to first?

Is it undefined behaviour to use pointer after allocated memory?

How standard C++ input output streams have to handle intXX_t types?

c++ c++11 language-lawyer

Accessing base class members with incorrect downcast in C++

c++ language-lawyer

Virtual calls during construction / destruction

How to discard the designator of a void expression?

c language-lawyer c11

Clang rejects inexplicit enum value in constexpr function (gcc works)

c++ language-lawyer c++20