Skip to content

Instantly share code, notes, and snippets.

@kalman5
Created March 17, 2017 22:08
DifferenceTemplateVsConcept
template <class T>
T sumScale(T a, T b, int c) {
return c*(a + b);
}
SummableScalable sumScale(SummableScalable a, SummableScalable b, int c) {
return c*(a + b);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment