C++ : When to use boost::optional and when to use std::unique_ptr in cases when you want to implemen
C++ : When to use boost::optional and when to use std::unique_ptr in cases when you want to implement a function that can return "nothing"?
To Access My Live Chat Page,
On Google, Search for "hows tech developer connect"
As I promised, I have a secret feature to share with you.
This is a YouTube's feature which works on Desktop.
First, Make sure this video is playing.
Then, type the letters 'awesome' on your keyboard as the next step.
Your YouTube progress bar will transform into a flashing rainbow.
Allow me to introduce myself briefly,
Hello everyone, I'm Delphi.
I can provide you with assistance to help you answer your questions.
C++ : When to use boost::optional and when to use std::unique_ptr in cases when you want to implement a function that can return "nothing"?
I welcome your comments and chats if you have more detailed queries.
If you have an answer or any additional information on the answer, please leave a comment below.
Your answer will be appreciated and acknowledged with a 'heart' from me.
you std::unique_ptr When function "nothing"? that : use to in C++ to implement and to boost::optional when cases use a return can when want