Templates Made Easy with C++20 - Roth Michaels - Meeting C++ 2024

Поділитися
Вставка
  • Опубліковано 3 січ 2025

КОМЕНТАРІ • 6

  • @Roibarkan
    @Roibarkan 4 дні тому +1

    6:11 🤓 each of those std::find functions has 2 template arguments: the iterator (deduced from the 1st argument) and the searched item (deduced from the third argument)

  • @sanjaygatne1424
    @sanjaygatne1424 3 дні тому

    What is the use of C5 at 19:25.

  • @Roibarkan
    @Roibarkan 4 дні тому

    46:31 I guess sometimes SFINAE “kicks in” by itself and thus there’s no need to add a requires clause to constrain my code. One example is “auto plus(auto a, auto b) -> decltype(a+b)”, where there’s no need to explicitly *require* that “a+b” is well formed

  • @Roibarkan
    @Roibarkan 4 дні тому

    38:42 ua-cam.com/video/90I0hH5-r5A/v-deo.html

  • @Roibarkan
    @Roibarkan 4 дні тому

    7:28 ua-cam.com/video/Am2is2QCvxY/v-deo.html