CppCast cover image

Deducing This

CppCast

00:00

Object Parameter Parometer

For member functions, there is a parometer that behaves sort of weirdly. And when you have an expression caled, like x dot fo and pran than that x gets matched to the implicit object perameter becomes the object argument. So deducing this is really just a way to say to mark one of the parameters to the function,. in this case, the first one, as the object parameter. It's brobably true of every function cale ever a. That's why we call it the implicit object parometer. If you don't like it, o mark the function of static and then it behaves totally differently, right?

Transcript
Play full episode

The AI-powered Podcast Player

Save insights by tapping your headphones, chat with episodes, discover the best highlights - and more!
App store bannerPlay store banner
Get the app