will (tilde aspect) is a user on tiny.tilde.website. You can follow them or interact with them if you have an account anywhere in the fediverse. If you don't, you can sign up here.

en.cppreference.com/w/cpp/expe

finally, a new C++ pointer type that is literally just a regular pointer that is referred to differently for no reason. i'm in heaven

will (tilde aspect) @sl2c

@revenant is there some communication of intent this actually helps with?

· SubwayTooter · 0 · 0

@sl2c @revenant i think the intent it communicates is "this is just like a c pointer, but i'm a very smart c++ developer who used it on purpose, not a veteran c developer still coding c in c++"

or something like that

@00dani @sl2c @revenant Basically this, yes.

“Hi, yes, I know this C++ codebase is almost all references, unique_ptr<>, and shared_ptr<>, but this raw pointer really needs to be a raw pointer and isn't a mistake or something that needs to be fixed up to match the coding style”

(Disclaimer: I have actually wanted observing_ptr<> for pretty much this reason)