Learn how to write a templated function that can accept a std::optional or an arithmetic type and selects the correct underlying type. This can be useful in situations where you need to perform different operations depending on the type of input you receive.
Read More