Functors() - Function objects - functions with state | Modern Cpp Series Ep. 99

Опубликовано: 12 Ноябрь 2022
на канале: Mike Shah
11,967
396

►Full C++ Series Playlist:    • The C++ Programming Language  
►Find full courses on: https://courses.mshah.io/
►Join as Member to Support the channel:    / @mikeshah  

►Lesson Description: In this lesson we learn about a concept that probably sounds scarier than it really should be -- functors. These are 'function objects' in which we can 'hold state' (because they are a class), but use exactly like a function. Where functors() really shine is by allowing us to compose or partially compose results, and we're soon going to find out that lambda's (unnamed functions) are essentially functors behind the scenes, but both lambda's and functors are incredibly useful tools for using with the STL.

►YouTube Channel:    / mikeshah  
►Please like and subscribe to help the channel!
►Join our free community: https://courses.mshah.io/communities/...


Смотрите видео Functors() - Function objects - functions with state | Modern Cpp Series Ep. 99 онлайн, длительностью часов минут секунд в хорошем качестве, которое загружено на канал Mike Shah 12 Ноябрь 2022. Делитесь ссылкой на видео в социальных сетях, чтобы ваши подписчики и друзья так же посмотрели это видео. Данный видеоклип посмотрели 11,967 раз и оно понравилось 396 посетителям.