Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in language-lawyer

Is it UB to access 'padded' bytes?

Variadic macro with no arguments for its variadic parameter

Overload resolution with universal reference involved

Is it legal to cast float* to std::complex<float>*

c++ c++11 language-lawyer

Extending temporary's lifetime, works with block-scoped aggregate, but not through `new`; why?

Why does the first function call bind to the first function? [duplicate]

Why can't a class extend a static nested class occurring within it?

non-static data member initialization with new expression

c++ c++11 gcc language-lawyer

Difference between T t {x} and T t = { x } for integral or enumeration type?

[[maybe_unused]] on enumerator

User-defined conversion operator template and built-in operators: no match for operator

c++ c++11 language-lawyer

Should deduction guide argument initialization considered by class template specialization deduction?

Is it UB to access a member by casting an object pointer to `char *`, then doing `*(member_type*)(pointer + offset)`?

c++ language-lawyer

Is comparing addresses of dynamically allocated objects allowed in C++20 constant expression?

Does virtual `operator <=>` with default implementation make one more virtual method in C++20?

Can requires-expression in C++20 be of type implicitly convertible to bool?

Why is there no <stlfwd> header and can the non-existence of it be considered a defect?

C++11 Accessing Unscoped Enumerators with Qualified Name

Why is there no operator<< for std::unique_ptr?

Practically safe to assume sizeof(std::unordered_map<std::string, T>) is the same for all T?

c++ c++11 stl language-lawyer