Error reporting in C++ - Custom classes with boolean and content (10/13)
Вставка
- Опубліковано 16 чер 2024
- Join me in these bi-weekly series to explore the topic of error reporting in C++.
The focus of this course is the design of functions that normally return a value, but an error may occur so, what should they return instead?
In this video we will be looking at returning a custom class with a boolean value and the contents of the file.
This approach is very similar to the pair we discussed earlier, with the added benefit of being more expressive.
The course is also available FOR FREE on Udemy.
It includes coding exercises so you can practice what you have learned.
Check it out and please consider leaving a review if you find it helpful: www.udemy.com/course/error-re... - Наука та технологія
Congrats on a very clear and useful set of videos on error reporting. I hope std::expected is coming up soon!
It will be the 12th video of the series. Saving the best for last. 😁