Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in language-lawyer

C expression evaluating differently on two different compilers

Does std::move work with lvalue references? How does std::move work on standard containers?

Why is overriding both the global new operator and the class-specific operator not ambiguous behaviour?

Is const-casting away const-ness of references to actual const objects permitted if they are never modified through them?

Is dereferencing a pointer that's equal to nullptr undefined behavior by the standard?

c++ c language-lawyer

I believe this is a bug in clang++ related to the access to a class's public member function

Placement new and assignment of class with const member

Why specializing a type_trait could result in undefined behaviour?

Destructor call in a comma-separated expression

C++ Default constructor not inherited with "using" when move and copy constructors present

template template parameters and forwarding references

c++ language-lawyer

Why is a constexpr function on a reference not constexpr?

C++ - Why is the 'template' keyword required here?

Does the C standard keep the return struct of a function on the stack if I keep a pointer to a value inside it?

c language-lawyer

The snippet compiles with warnings in Coliru, but compiles normally in Ideone. Which one is correct?

Direct initialization with empty initializer list

Do C standards specify how far the carry propagates when incrementing a pointer?

c pointers language-lawyer

What's the real reason to not use the EOF bit as our stream extraction condition?

Guarantees of reordering of a vector

c++ vector language-lawyer

Is the C++ Standard Library part of the C++ Language?

c++ c++11 language-lawyer