Debian Codegraph @

yo/advancedtemplates/concepts/examples/extend.cc

raw
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 }