C++ Weekly - Ep 65 - C++11's std::fmin

preview_player
Показать описание
☟☟ Awesome T-Shirts! Sponsors! Books! ☟☟

Upcoming Workshop: C++ Best Practices, NDC TechTown, Sept 9-10, 2024
Upcoming Workshop: Applied constexpr: The Power of Compile-Time Resources, C++ Under The Sea, October 10, 2024

T-SHIRTS AVAILABLE!

WANT MORE JASON?

SUPPORT THE CHANNEL

GET INVOLVED

JASON'S BOOKS

► C++23 Best Practices

► C++ Best Practices

JASON'S PUZZLE BOOKS

► Object Lifetime Puzzlers Book 1

► Object Lifetime Puzzlers Book 2

► Object Lifetime Puzzlers Book 3

► Copy and Reference Puzzlers Book 1

► Copy and Reference Puzzlers Book 2

► Copy and Reference Puzzlers Book 3

► OpCode Puzzlers Book 1


RECOMMENDED BOOKS

AWESOME PROJECTS

O'Reilly VIDEOS

Рекомендации по теме
Комментарии
Автор

Why do you need decltype(auto) instead of just auto? Won't decltype(auto) just resolve to the type of auto?

vorpal
Автор

Unfortunately your implementation is only applicable for C++ 17 due to the fold expressions you are using... Nevertheless its cool!

stanimirlukanov
Автор

Can you please explain how you configure & use compiler explorer ?
I've tried to follow you but I don't get any output, asides from
'Compiler exited with result code 0'

Silmarieni
Автор

why isn't it a specialization for std::min? seems silly to have a fmin because min<double> doesn't do the right thing

FernandoMoreira