Using C++20 three way comparison - Jonathan Müller - Meeting C++ 2019

Поділитися
Вставка
  • Опубліковано 18 жов 2024

КОМЕНТАРІ • 7

  • @gast128
    @gast128 4 роки тому

    Good talk. The NaN issue already exist when putting floating point numbers in associative containers as key. Btw the TIE advanced is a TIE fighter as well if you follow the lore of the game 'TIE fighter'

  • @acf2802
    @acf2802 Рік тому

    18:20 I think you are wrong. The defaulted operator== will automatically have a noexcept-ness based on whether or not all of it's members had noexcept operator==.

  • @IAmEki
    @IAmEki 4 роки тому +1

    Could you in theory use the same idea of swapping the order of arguments to create some kind of generic [[commutative]] directive that works for any operator? I'd love to not need to define both scalar * vector and vector * scalar, for example...

  • @pmcgee003
    @pmcgee003 4 роки тому

    Seems to say partial ordering is "a bit weird" :) but that's almost all graph nodes ...

  • @R_BNK
    @R_BNK 4 роки тому +1

    Spaceship operator 👍

  • @Xeverous
    @Xeverous 3 роки тому

    Materials from presentation author: www.jonathanmueller.dev/talk/meetingcpp2019/

  • @mapron1
    @mapron1 4 роки тому

    Really great talk with a lot of useful information. Thank you! I personally rate is as the best i've seen on .