T.concept: Remove comment unnecessary in good example

The properly defined `Number` concept used as the template type is fully expressive.
This commit is contained in:
Edward Brey 2017-12-05 13:46:59 -06:00 committed by GitHub
parent bdc07cc4ef
commit 0931fab3d5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -16287,7 +16287,7 @@ The ability to specify a meaningful semantics is a defining characteristic of a
&& has_multiply<T>
&& has_divide<T>;
template<Number N> auto algo(const N& a, const N& b) // use two numbers
template<Number N> auto algo(const N& a, const N& b)
{
// ...
return a + b;