☰
Debian Codegraph
@
13.04.01-1
/
/
yo
/
advancedtemplates
/
concepts
/
examples
/
extend.cc
☽
☼
yo/advancedtemplates/concepts/examples/extend.cc
code
plain
raw
GPL-2+
1994-2025 by Frank B. Brokken, University of Groningen.
debian/copyright
1
template<Addable Type>
2
requires Subtractable<Type>
3
Type addsub(Type const &x, Type const &y, Type const &z)
4
{
5
return x + y - z;
6
}