Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in language-lawyer

Is it undefined behaviour to const_cast a const view of a non-const socket received byte buffer?

c++ language-lawyer

Is assigning string literal to mutable char* legal on newer language revisions or just warned against by compilers?

Can an integer type with no padding bits have a non-value representation?

placement new and storage reuse

Are non-static non-reference data member declarations variables?

c++ language-lawyer

How do I check whether character constants conform to ASCII?

Can I free() something in C that has been malloc()'ed in C++?

Must coroutine return type be copy- or move-constructible if it is passed in co_await

Move elision in explicit object member functions

Can you cast a "pointer to a function pointer" to void*

Is it safe to read the value of numpy.empty or jax.numpy.empty?

Why does std::vector constructor throw std::length_error instead of std::bad_alloc?

c++ c++17 language-lawyer

Is it valid to check if a function is defined in C?

Is not catching an exception undefined behavior?

C11 memory model -- two threads execute atomic_fetch_add followed by atomic_load -- what output is possible?

Preprocessing: Is defining a shorthand for `import` legal?

Python modifying dict entries in-place during iteration

Class with constructor template requiring copyable argument is not copyable by itself

In which situations does the second form of `__has_include` appear?