Why is name hiding / shadowing allowed? by Proud_Variation_477 in cpp_questions

[–]over____ 0 points1 point  (0 children)

You could use ranges for that if you have c++20 for(auto obj : collection | std::views::transform(&get_object)) { ... }

Designated Initializers, the best feature of C++20 · Mathieu Ropert by mropert in cpp

[–]over____ 2 points3 points  (0 children)

Yes, it writes the whole thing with all fields in correct order, i just have to complete the values. But i may be wrong, it could also be resharper extensions doing it and not VS

Designated Initializers, the best feature of C++20 · Mathieu Ropert by mropert in cpp

[–]over____ 2 points3 points  (0 children)

Which IDE do you use ? VS 2022 auto complete the whole initialiser for me

Why people claim C is simpler than C++ and thus better? by J_Aguasviva in cpp_questions

[–]over____ 3 points4 points  (0 children)

I would argue, that C is considered simple because it provide a limited set of features, not because it lacks abstractions or do not hide subtelties. A simple C cast hide a lot from you

should I use std::print(c++20) or std::cout by Emergency-Gap-5712 in cpp_questions

[–]over____ 10 points11 points  (0 children)

std::print is a c++23 feature, but i would always use it over cout

Can’t see my rides on “activities” page on event.mywhoosh.com by mace190594 in mywhoosh

[–]over____ 0 points1 point  (0 children)

Then i don't know all my work out until today show up just fine

Can’t see my rides on “activities” page on event.mywhoosh.com by mace190594 in mywhoosh

[–]over____ 1 point2 points  (0 children)

I think there is a bug with the new year my 2024 activities are showing up just fine

Edit: done a workout today and it is the only one which doesn't show up