@CaseyCarter@mastadon.social #BLM (@CoderCasey) profile picture

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

Not Twitter.
Joined September 2014
Photo by @CaseyCarter@mastadon.social #BLM (@CoderCasey)Photo by @CaseyCarter@mastadon.social #BLM (@CoderCasey)Photo by @CaseyCarter@mastadon.social #BLM (@CoderCasey)Photo by @CaseyCarter@mastadon.social #BLM (@CoderCasey)Photo by @CaseyCarter@mastadon.social #BLM (@CoderCasey)Photo by @CaseyCarter@mastadon.social #BLM (@CoderCasey)Photo by @CaseyCarter@mastadon.social #BLM (@CoderCasey)Photo by @CaseyCarter@mastadon.social #BLM (@CoderCasey)Photo by @CaseyCarter@mastadon.social #BLM (@CoderCasey)Photo by @CaseyCarter@mastadon.social #BLM (@CoderCasey)
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.
You’re unable to view this post because this account owner limits who can view their posts. Learn more
1
58
1
347
23,379
Given 'bool b', 'unsigned x', and 'unsigned &s'. Is there a difference between 'if (b) s+= x' and 's += b*x'? Honest question.
2
641
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
Replying to @Chinchillazllla
Thank you for the bug facts. If you have a moment, I have firefly questions. 1. Have they suffered a population hit in the last few years? I never see them anymore. 2. Does anyone sell fireflies like they do for crickets? 3. Unrelated—ever prank someone with a bunch of crickets?
4
16
4,176
Why are crickets so strongly attracted to bad jokes?
1
216
Current status: defending Microsoft and MSVC on Reddit.
18
1
93
12,838
Now they're supporting deducing this first, it looks like? They fixed their C preprocessor!? WTF is happening over there?!!?
1
86
"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
3 years after C++20 and only MSVC really allows you to use std::format
3
2
22
3,603
Then libstdc++ is further than I thought =)
1
2
193
The first version of Visual C++ was released 30 years ago today 🎂 (Feb 23, 1993) #cpp #cplusplus @visualc
3
8
2
81
6,977
Yes, there were previous versions of C and C++ compilers and tools released by Microsoft before “Visual C++”.
2
2
152
Ah yes, the "Invisible C++" years.
1
84
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 post is from an account that no longer exists. Learn more
4
18
3
134
37,753
Today I introduced a bill to ban all messenger ribonucleic acid technology (mRNA) in the State of Idaho, and we passed the Freedom in Education Savings Account out of the Senate Education Committee to fund students and not systems, putting families in control over their ed $.
2,550
143
1,725
555
3,139,505
Hopefully they'll ban dihydrogen monoxide next. It's been found in the water supply of every major urban center in America!
3
84
Printing hello world in C++ has never been easier.
24
30
12
594
111,566
What does the `auto` do in `operator auto()`? Is that like a conversion operator to any T?
1
57
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
If this ain’t some McDojo bullshit like… – at Round Rock, TX
Your belt can be a tool to save your life in a Self Defense situation. #SelfDefense #weapons #selfdefence #martialarts #fma #StaySafe
54
3
6
188
49,614
"Your belt can be a tool to save your life in a Self Defense situation - but certainly not this one."
1
147
What is the dumbest C++ compile error and why is it "type name first seen using 'class' now seen using 'struct'" ?
12
1
41
5,353
🤣 `class` was a mistake in C++. Both for structures and templates. Just unnecessary. Peer pressure, cargo-cult, whatever you want to call it, it shouldn’t have been there. But “C with classes” sounded so much better than “Better C” 😄 #cpp #cplusplus
4
7
737
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
Hey, there's *nothing* wrong with the C declarator syntax, OK?
12
6
1
95
18,494
Where's the "Request Changes" button in the Twitter code review UI?
10
751