CppCon 2018: Dan Saks “Making New Friends”
http://CppCon.org
—
Presentation Slides, PDFs, Source Code and other presenter materials are available at: https://github.com/CppCon/CppCon2018
—
A friend of a class is a function or class that is not a member of that class, but nonetheless has access to all members of that class. The conventional wisdom is that granting friendship is something you do should sparingly. This lecture introduces a distinctive use for friend function declarations in class templates that's not about granting access to non-public members. Rather, it's about using a template as a
factory for "making" new friends. Along the way, this session explains various subtleties about operator overloading, overload resolution,
template instantiation, and name lookup for friend functions.
—
Dan Saks, Saks & Associates
President
Dan Saks is the president of Saks & Associates, which offers training and consulting in C and C++ and their use in developing embedded systems. Dan used to write the “Programming Pointers” column for embedded.com online. He has also written columns for numerous print publications including The C/C++ Users Journal, The C++ Report, Software Development, and Embedded Systems Design. With Thomas Plum, he wrote C++ Programming Guidelines, which won a 1992 Computer Language Magazine Productivity Award. Dan has taught C and C++ to thousands of programmers around the world. He has presented at conferences such as Software Development, Embedded Systems, and C++ World. He has served on the advisory boards of the Embedded Systems and Software Development conferences. Dan served as secretary of the ANSI and ISO C++ Standards committees and as a member of the ANSI C Standards committee. More recently, he contributed to the CERT Secure C Coding Standard and the CERT Secure C++ Coding Standard.
—
Videos Filmed & Edited by Bash Films: http://www.BashFilms.com
Видео CppCon 2018: Dan Saks “Making New Friends” канала CppCon
—
Presentation Slides, PDFs, Source Code and other presenter materials are available at: https://github.com/CppCon/CppCon2018
—
A friend of a class is a function or class that is not a member of that class, but nonetheless has access to all members of that class. The conventional wisdom is that granting friendship is something you do should sparingly. This lecture introduces a distinctive use for friend function declarations in class templates that's not about granting access to non-public members. Rather, it's about using a template as a
factory for "making" new friends. Along the way, this session explains various subtleties about operator overloading, overload resolution,
template instantiation, and name lookup for friend functions.
—
Dan Saks, Saks & Associates
President
Dan Saks is the president of Saks & Associates, which offers training and consulting in C and C++ and their use in developing embedded systems. Dan used to write the “Programming Pointers” column for embedded.com online. He has also written columns for numerous print publications including The C/C++ Users Journal, The C++ Report, Software Development, and Embedded Systems Design. With Thomas Plum, he wrote C++ Programming Guidelines, which won a 1992 Computer Language Magazine Productivity Award. Dan has taught C and C++ to thousands of programmers around the world. He has presented at conferences such as Software Development, Embedded Systems, and C++ World. He has served on the advisory boards of the Embedded Systems and Software Development conferences. Dan served as secretary of the ANSI and ISO C++ Standards committees and as a member of the ANSI C Standards committee. More recently, he contributed to the CERT Secure C Coding Standard and the CERT Secure C++ Coding Standard.
—
Videos Filmed & Edited by Bash Films: http://www.BashFilms.com
Видео CppCon 2018: Dan Saks “Making New Friends” канала CppCon
Показать
Комментарии отсутствуют
Информация о видео
Другие видео канала
CppCon 2018: Brand & Nash “What Could Possibly Go Wrong?: A Tale of Expectations and Exceptions”Back to Basics: Function and Class Templates - Dan Saks - CppCon 2019Writing better embedded Software - Dan Saks - Keynote Meeting Embedded 2018CppCon 2018: Nir Friedman “Understanding Optimizers: Helping the Compiler Help You”CppCon 2015: Chandler Carruth "Tuning C++: Benchmarks, and CPUs, and Compilers! Oh My!"Memory-Mapped Devices as Objects - Dan Saks - CppCon 2020CppCon 2016: David Schwartz “Developing Blockchain Software”CppCon 2016: Dan Saks “extern c: Talking to C Programmers about C++”CppCon 2018: “Closing Panel: Spectre”C++ Function Templates: How Do They Really Work? - Walter E. Brown [C++ on Sea 2019]CppCon 2017: Klaus Iglberger “Free Your Functions!”CppCon 2018: Simon Brand “How C++ Debuggers Work”Core C++ 2019 :: Dan Saks :: Understanding Lvalues and RvaluesCppCon 2018: Robert Ramey “Safe Numerics”CppCon 2017: Juan Pedro Bolivar Puente “Postmodern immutable data structures”code::dive conference 2015 - Dan Saks - Representing Memory Mapped Devices as ObjectsOO Considered Harmful - Phil Nash - CppCon 2020Choosing the Right Integer Types in C and C++ - Dan Saks - code::dive 2018Embedded: Customizing Dynamic Memory Management in C++ - Ben Saks - CppCon 2020CppCon 2018: Herb Sutter “Thoughts on a more powerful and simpler C++ (5 of N)”