Constrained genericity: Difference between revisions
Content deleted Content added
m →{{Header|Ada}}: Syntax |
→{{header|C++}}: slight mistake in the explanation |
||
Line 85:
}
</cpp>
The difference to a global function <code>void eat(Food const&)</code> is that the function in the concept map is only visible to functions using that concept
<cpp>
concept_map Eatable<int>
|