Back to Basics - Name Lookup and Overload Resolution in C++ - Mateusz Pusz - CppCon 2022

Поділитися
Вставка
  • Опубліковано 26 сер 2024
  • cppcon.org/
    ---
    Back to Basics - Name Lookup and Overload Resolution in C++ - Mateusz Pusz - CppCon 2022
    github.com/Cpp...
    This talk explains how name lookup and overload resolution works. The language rules are not easy at all and may not be what one could expect. During the lecture, I will describe in detail how the process works, what are the pitfalls, and how to avoid them.
    This talk is part of the Back to Basics track and the material will be targeted to include all skill levels. Familiarity with the C++ language is recommended however no prior knowledge of name lookup or function overloads is required.
    ---
    Mateusz Pusz
    Mateusz Pusz is a software architect, principal engineer, and security champion with more than 15 years of experience in designing, writing and maintaining C++ code for fun and living. C++ consultant, trainer, conference speaker, and evangelist focused on Modern C++. His main areas of interest and expertise are code performance, low latency, stability, and security.
    Mateusz worked at Intel for 13 years, and now he is a Principal Software Engineer and the head of the C++ Competency Center at EPAM Systems. He is also a founder of Train IT that provides dedicated C++ training and consultant services to corporations around the world.
    Mateusz is a contributor and an active voting member of the ISO C++ Committee (WG21) where, together with the best C++ experts in the world, he shapes the future of the C++ language. He is also a co-chair of WG21 Study Group 14 (SG14) responsible for driving performance and low latency subjects in the Committee. In 2013 Mateusz won “Bench Games 2013” - worldwide competition in the C++ language knowledge.
    ---
    Videos Filmed & Edited by Bash Films: www.BashFilms.com
    UA-cam Channel Managed by Digital Medium Ltd events.digital...
    #cppcon #programming #cpp

КОМЕНТАРІ • 3

  • @mateuszpusz1195
    @mateuszpusz1195 Рік тому +4

    Sorry, I got lost a bit on the question asked in the 47th minute. I realized the answer right after finishing the lecture. As I mentoned, I should provide a default implementation in the CPO rather then calling std::swap there. I did this last minute change for the needs of slideware without thinking about it too much. The reason for not using std::swap directly there is because we do not want to include all overloads of this function from namespace std into the lookup (i e. the one for std::string).

  • @rafalmichalski4893
    @rafalmichalski4893 Рік тому +2

    Great talk Mateusz. Thanks.

  • @fmax32
    @fmax32 Рік тому +1

    Mateusz, great talk! Thank you! EPAM is a great place to work!