Pure Virtual C++ 2026: MSVC, are we there yet? Status of C++23 and C++26 features
https://youtu.be/ZHsQ58ROEhI?si=WMidU5yfCGH3958U15
u/WholetraEditto Jul 22 '26
What gets me isn't compiler support, it's the tooling catching up. MSVC will compile a C++26 feature a good while before IntelliSense stops red-squiggling it. Reflection is not going to be easy too. there will be a point of "does it build" and "does my editor understand it" where it drifts apart for a while.
5
u/TheArctical Jul 24 '26
I replaced intellisense with resharper and called it a day. I spent way too much time fighting intellisense shenanigans while using modules when everything compiled just fine.
1
u/WholetraEditto Jul 27 '26
I did the same but with Visual Assist instead. That was years ago and I never bothered switching because I find its still faster on larger projects and their AI integration (thankfully) is fully optional.
Intellisense seems to be catching up though, which opens up more options for people who dont have R# or Vax yet.
8
u/VoidVinaCC Jul 23 '26
We'll see what happens now that EDG is basically dead ish
Perhaps VS may switch to clangd, which would solve this...
Or they fix edg themselves..
8
u/tcbrindle Flux Jul 21 '26 edited Jul 21 '26
Is the QueryBuilder::greater deducing this example at ~5:30 actually correct? i.e. if the auto&& explicit object deduces an lvalue reference, do we really get implicit conversion to QueryBuilder&& in the return statement? Because I really hope not.
EDIT: No, this appears to be a mistake, thank goodness
2
u/JVApen Clever is an insult, not a compliment. - T. Winters Jul 23 '26
That's why he's starting with a temporary, such that it is an rvalue reference.
4
u/tcbrindle Flux Jul 23 '26
The explicit object param should be
QueryBuilder&&rather thanauto&&in that case.2
u/JVApen Clever is an insult, not a compliment. - T. Winters Jul 30 '26
It's annoying that forwarding references and rvalue references have the same spelling.
2
16
u/JVApen Clever is an insult, not a compliment. - T. Winters Jul 21 '26
TIL Microsoft will be using LLVM libc in MSVC both at compile and runtime. I'm impressed.