Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in language-lawyer

Is `std::array<T, 0>` default constructible where `T` is not default constructible?

if constexpr in a recursive generic lambda: different compiler behavior

Why "constructor-way" of declaring variable in "for-loop" allowed but in "if-statement" not allowed? [duplicate]

What happens when an exception is thrown while computing a constexpr?

Is it possible to initialise a character array with a conditionally selected string literal?

gcc bug? It inexplicably decays array to pointer, while clang does not

Behavior of & followed by * operator

c language-lawyer

Can a primitive-type data member of a derived class be used as a parameter to its base constructor?

Can comparison operator be defaulted outside of class definition in C++20?

Can typedef names be used to declare or define constructors?

c++ language-lawyer

Is it legal to use side-effects in exceptions thrown by constexpr?

Are variadic arguments after a defaulted parameter well-formed?

Ambiguous operator overload in Clang

Is it legal to reuse memory from a fundamental type array for a different (yet still fundamental) type array

Are static class members guaranteed to be initialized before `main` is called?

c++ language-lawyer c++03

Is left-shifting (<<) a negative integer undefined behavior in C++11?

c++ c++11 language-lawyer

Operator cast, GCC and clang: which compiler is right?

Value initialization: MSVC vs clang

Appending std::vector to itself, undefined behavior?

c++ vector language-lawyer

Why does the standard have both seekpos() and seekoff()?

c++ language-lawyer