Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in 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

Can std::atomic memory barriers be used to transfer non-atomic data between threads?

Strings in headers -- does this violate the ODR?

Are Rust references (usually) Voldemort types?

Is it safe to detect endianess with union?

Portable way to retrieve a int32_t passed to variadic function

Is allocating a dynamic array without specifying size well formed code?

C++11 and C++03 differs in support for small string optimization for std::string?

There are some details I didn't understand in §7.3.1.2/3 in the C++11 Standard

Is member declaration `decltype(name) name;` permitted in local struct where the first name refers to the enclosing scope?

c++ c++11 language-lawyer

Can we refer to member variables in a noexcept specification?

cast operator function compiles fine in g++ but not in other compilers. Why? [duplicate]