Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in language-lawyer

Casting to void (not pointer) is allowed, why?

c++ language-lawyer

Is DBL_MIN the smallest positive double?

c++ language-lawyer numeric

Evaluating stream operator >> as boolean

What's the difference between a class with a companion object and a class and object with the same name?

Lambda capture list: capturing object's member field by value not possible without capturing the whole object?

Is this a universal reference? Does std::forward make sense here?

constexpr void function rejected

Weird behavior with a manually defined strlen

Non-capturing lambda seems to nevertheless capture the enclosing instance

Is it well-defined/legal to placement-new multiple times at the same address?

What is the lifetime of a default argument temporary bound to a reference parameter?

Are comparisons on out-of-range pointers well-defined?

c++ language-lawyer

Does not evaluating the expression to which sizeof is applied make it legal to dereference a null or invalid pointer inside sizeof in C++?

Does an else if statement exist?

Why does this static const int member variable appear to be accessible publicly in array definition?

clang bug? namespaced template class' friend

What does C++ language definition say about the extent of the static keyword?

Why GCC 5.3.0 gives warning when binding reference to "this" pointer

Why do major compilers use typedef for stdint.h but use #define for stdbool.h?

Lifetime of object is over before destructor is called?