Questions
Linux
Laravel
Mysql
Ubuntu
Git
Menu
HTML
CSS
JAVASCRIPT
SQL
PYTHON
PHP
BOOTSTRAP
JAVA
JQUERY
R
React
Kotlin
×
Linux
Laravel
Mysql
Ubuntu
Git
New posts in language-lawyer
Is it technically UB to static_cast<A*>(memmove(dst, (void*)src, sizeof(src))) since C++20?
Sep 15, 2025
c++
language-lawyer
c++20
undefined-behavior
lifetime
Can I return pointer to VLA?
Sep 16, 2025
c
arrays
pointers
language-lawyer
c11
Is it not necessary to result in UB when using a glvalue of type char to access an object of another type
Sep 16, 2025
c++
language-lawyer
Why can't you define a class or function in a non-enclosing scope?
Sep 16, 2025
c++
language-lawyer
c++23
End of object lifetime if its storage is partially reused
Sep 15, 2025
c++
language-lawyer
c++20
lifetime
Difference in overload selection of user-defined conversion operator between clang and gcc
Sep 16, 2025
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]
Sep 14, 2025
c++
language-lawyer
sfinae
template-argument-deduction
type-deduction
May a vendor add functions in a standard library header file without #including other headers?
Sep 15, 2025
c++
language-lawyer
Discrepancy with decltype on static member-function
Sep 15, 2025
c++
language-lawyer
c++20
Is GCC miscompiling this code, or is it UB?
Sep 15, 2025
c++
gcc
language-lawyer
Asynchronous replies in UML sequence diagrams (async/await pattern)
Sep 14, 2025
asynchronous
language-lawyer
uml
sequence-diagram
Does undefined behavior only concern an execution of program, or can it concern a program itself?
Sep 15, 2025
c++
language-lawyer
undefined-behavior
Moving a unique pointer - undefined behavior on cppreference?
Sep 15, 2025
c++
language-lawyer
unique-ptr
move-semantics
Is alignof(T*) is the same for all possible types? What about sizeof(T*)?
Sep 15, 2025
c++
pointers
language-lawyer
sizeof
alignof
Clang and GCC disagree on whether overloaded function templates are ambiguous
Sep 15, 2025
c++
c++11
language-lawyer
Are int main() and int main(void) equivalent prototypes in C23?
Sep 15, 2025
c
language-lawyer
function-prototypes
c23
Pointer arithmetic across subobject boundaries
Sep 14, 2025
c++
pointers
c++11
language-lawyer
pointer-arithmetic
Can I "over-extend" an array by allocating more space to the enclosing struct?
Sep 15, 2025
c
arrays
language-lawyer
undefined-behavior
flexible-array-member
constexpr general confusion
Sep 15, 2025
c++
language-lawyer
constexpr
compile-time-constant
constant-expression
void* ptr = &func; compiles with msvc without any diagnostic but both gcc and clang rejects it
Sep 15, 2025
c++
pointers
language-lawyer
function-pointers
pointer-conversion
« Newer Entries
Older Entries »