C++ aficionado and MSVC STL developer. He/Him. [email protected]

Not Twitter.
Joined September 2014
Include

Only show posts containing:

Exclude

Hide posts containing:

Time range
-
Minimum likes
Note: on #ConfederateHistoryMonth: just a friendly reminder that confederates committed treason to stupidly attack a country with 3 times their manpower and ALL of the military industry, primarily to defend the right to own, trade, beat and rape other humans.
unavailable
1
58
1
348
23,379
Replying to @david_sankel
If `s` is address-escaped / a global, a conforming compiler may not introduce a write to `s` when `b` is `false` without potentially introducing a data race.
1
5
176
Why are crickets so strongly attracted to bad jokes?
1
216
"Supporting" is a bit of an overstatement: support for deducing this in MSVC is partial. (I don't recall precisely why other than "it doesn't work in modules yet" but @starfreakclone could explain in detail if you like.)
2
2
86
Your Compiler Explorer example is using libstdc++. See @mattgodbolt ? This is why.
2
2
375
Once is an anomaly. Twice is a coincidence. Three times is a pattern. Four times is enough. We've had enough of harassment and coverups. We have failed to make the C++ community safe. It's time for change. Leadership must prioritize safety.
This quoted post is unavailable.
4
18
3
134
37,753
Replying to @nichols_senator
Hopefully they'll ban dihydrogen monoxide next. It's been found in the water supply of every major urban center in America!
3
84
That's the conversion operator version of a deduced return type. The compiler deduces what type the conversion operator produces by looking at the return statements in the function body.
1
1
41
It's less readable _and_ less efficient!
1
4
642
Replying to @elchefe
"Your belt can be a tool to save your life in a Self Defense situation - but certainly not this one."
1
147
Replying to @LAK132
If that's the case, it's probably not a regression which means we won't be able to do much about it unless very many customers report it. Sorry!
8
Replying to @LAK132
Default constructing a vector<T> doesn't instantiate any of T's special member functions, except the destructor: godbolt.org/z/PaWEYMnb9. What problem are you seeing?
1
2
114
Replying to @vzverovich
Undefined Behaviormobile
1
174
Replying to @ericniebler
Where's the "Request Changes" button in the Twitter code review UI?
10
751