Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in language-lawyer

CRTP std::is_default_constructible not working as expected

Does "if constexpr(something false)" ALWAYS omit template instantiation

Does my class satisfy the requirements of an iterator?

Do empty statements evaluate to NOP?

c++ language-lawyer

Using a union to prevent destruction?

c++ language-lawyer unions

Copy constructor with impossible requires-constraint

Is it technically UB to static_cast<A*>(memmove(dst, (void*)src, sizeof(src))) since C++20?

Can I return pointer to VLA?

Is it not necessary to result in UB when using a glvalue of type char to access an object of another type

c++ language-lawyer

Why can't you define a class or function in a non-enclosing scope?

c++ language-lawyer c++23

End of object lifetime if its storage is partially reused

Difference in overload selection of user-defined conversion operator between clang and gcc

c++ c++17 language-lawyer

What is the exact quote from the C++ Standard that states that type deduction failure on template argument deduction is not an error (SFINAE)? [duplicate]

May a vendor add functions in a standard library header file without #including other headers?

c++ language-lawyer

Discrepancy with decltype on static member-function

c++ language-lawyer c++20

Is GCC miscompiling this code, or is it UB?

c++ gcc language-lawyer

Asynchronous replies in UML sequence diagrams (async/await pattern)

Does undefined behavior only concern an execution of program, or can it concern a program itself?

Moving a unique pointer - undefined behavior on cppreference?

Is alignof(T*) is the same for all possible types? What about sizeof(T*)?