Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in language-lawyer

As far as I can tell, this code should not compile, according to §5.19/3 and §5.19/2 in C++14

Should decltype on a template value parameter trigger a SFINAE context?

Modifying a container within std::for_each

c++ language-lawyer

Typo: bool to int conversion induced error in std::ifstream under Linux

std::atomic in a union with another character

Why unique_ptr with custom deleter won't work for nullptr, while shared_ptr does?

Does giving data an effective type count as a side-effect?

Why are literals not const (except strings)?

c++ language-lawyer

Is decltype of a non-static member function ill-formed?

Constexpr constructor fails to satisfy the requirements, but still constexpr. Why?

c++ language-lawyer c++17

Do data member addresses lie between (this) and (this+1)?

c++ language-lawyer

Moving local variable into return value of different type

c++ language-lawyer move

Why does default constructor of std::atomic not default initialize the underlying stored value?

limits and uses of C++20 template lambas

Does size_t have the same size and alignment as ptrdiff_t?

Can I clone the bytes of a C++ object, overwrite the original bytes, then copy those bytes back?

c++ language-lawyer

How does a converting constructor with more than a single non-optional parameter look like and why does it make sense?

The Standard seems to support (the snippet below compiles) a static data member having the same type as the class itself [duplicate]

Meaning of valid pointer

c++ language-lawyer

Why implicit conversion of bool to string isn't an error?