mirror of
https://github.com/isocpp/CppCoreGuidelines.git
synced 2024-03-22 13:30:58 +08:00
Merge pull request #1100 from breyed/patch-1
T.concept: Remove comment unnecessary in good example
This commit is contained in:
commit
6ac3ac940f
|
@ -16288,7 +16288,7 @@ The ability to specify a meaningful semantics is a defining characteristic of a
|
||||||
&& has_multiply<T>
|
&& has_multiply<T>
|
||||||
&& has_divide<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;
|
return a + b;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user