python (65.1k questions)
javascript (44.2k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (12.9k questions)
Requirements on returned type that may have some member functions SFINAE'd away in the function's translation unit?
Refining from Why is the destructor implicitly called?
My understanding of calling convention is that functions construct their result where the caller asked them to (or in a conventional place?). Wit...
Ben
Votes: 0
Answers: 1
Why is the destructor implicitly called?
Related?: Why is the destructor called for an object that is not deleted?
As a minimal case, I have a templated heap-allocated move-only value class template. What I don't understand is why a function...
Ben
Votes: 0
Answers: 1
Is _Thread_local independent from __STDC_NO_THREADS__?
It seems that currently _Thread_local is independent from __STDC_NO_THREADS__.
Consequence: even if an implementation defines __STDC_NO_THREADS__ to 1, then it still needs to support (at least to acce...
pmor
Votes: 0
Answers: 2
Has atomic type-punning through unions defined behaviour?
Type-punning through unions has defined behaviour in C:
typedef union
{
uint32_t i;
float f;
} MyUnion;
MyUnion u;
u.f = 4.2;
print("%"PRIu32, u.i); // defined behaviour
Given via ...
dyp
Votes: 0
Answers: 1