1
0
mirror of https://github.com/TomHarte/CLK.git synced 2024-11-22 12:33:29 +00:00

Added an expository TODO.

This commit is contained in:
Thomas Harte 2017-07-22 17:40:06 -04:00
parent 1bbb4cb478
commit 31b4f8fa31

View File

@ -16,6 +16,7 @@ namespace NumberTheory {
@returns The greatest common divisor of @c a and @c b as computed by Euclid's algorithm.
*/
template<class T> T greatest_common_divisor(T a, T b) {
// TODO: replace with the C++17 GCD function, once available.
if(a < b) {
std::swap(a, b);
}