C++ Club cover image

Meeting 142

C++ Club

00:00

Using Optional of T Rf in Seplos Plos 23

In order to support any range, the return type must be optional t rf. The author shows that returning pointer to int instead doesn't work without a lot of work rounds. Barry talks about the future too. We don't have pattern matching in seplos plas yet, and we still won't in siplos plos 23,. And when we do, we'll want to be able to match on whether our optional reference actually contains a reference or not.

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