Created
July 3, 2023 18:00
-
-
Save Bueddl/531325c8c48a15fd8a75418a77771ed1 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#pragma once | |
template<typename T> | |
T square(T val) { | |
return val * val; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment