Discussion
Loading...

#Tag

  • About
  • Code of conduct
  • Privacy
  • Users
  • Instances
  • About Bonfire
Ambraven :verifinking:​
@Ambraven@social.mochi.academy  ·  activity timestamp last week

#CppRant #Cpp

I wish... I wish I was coding in modern cpp, not a more than decade old version.

I just stumble onto a very stupid case were I have two header files with the same guard. (from 2 different "modules".) (yes the architecture is kinda wack but honestly I've seen way worst. )

It wouldn't have happened with actual modules. ( At least I hope... otherwise what is even the point ? )

  • Copy link
  • Flag this post
  • Block
Ambraven :verifinking:​
@Ambraven@social.mochi.academy  ·  activity timestamp last week

Do you really still need it in C++26 ?

Can't C++ get a better switch ? Does it has one nobody told me about ?

#Cpp

Ambraven :verifinking:​
@Ambraven@social.mochi.academy replied  ·  activity timestamp last week

If you still want to keep the old broken switch around, can we at least get a new better version?

Like call it match or something... And make it work with strings while you're at it.

#Cpp #cppRant

  • Copy link
  • Flag this comment
  • Block
Log in

bonfire.cafe

A space for Bonfire maintainers and contributors to communicate

bonfire.cafe: About · Code of conduct · Privacy · Users · Instances
Bonfire social · 1.0.1-alpha.8 no JS en
Automatic federation enabled
  • Explore
  • About
  • Members
  • Code of Conduct
Home
Login