
C++ aficionado and MSVC STL developer. He/Him. [email protected]
Not Twitter.
Joined September 2014
- Tweets1.2K
- Following132
- Followers1.9K
- Likes2.6K
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
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
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
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
Using "unstabilized" features with libc++ on Compiler Explorer is, err, expert-friendly: godbolt.org/z/aEffYbhcc
2
78
Replying to @vzverovich @basit_ayantunde
Your Compiler Explorer example is using libstdc++. See @mattgodbolt ? This is why.
2
2
375
(github.com/compiler-explorer…, for those lacking context.)
2
138
The first version of Visual C++ was released 30 years ago today 🎂
(Feb 23, 1993)
#cpp #cplusplus @visualc
Yes, there were previous versions of C and C++ compilers and tools released by Microsoft before “Visual C++”.
2
2
152
@[email protected] #BLM retweeted
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
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 $.
Replying to @vzverovich
Why bother with `hello[]` when you could simply (std::cout << ... << str)? (godbolt.org/z/efG97nMjP)
1
14
1,970
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
What is the dumbest C++ compile error and why is it "type name first seen using 'class' now seen using 'struct'" ?
🤣
`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

















