fixed typo

This commit is contained in:
Frank B. Brokken 2017-02-12 17:58:12 +01:00
parent 91d0e07755
commit a2e3af01f0

View file

@ -12,7 +12,7 @@ complication. Consider the following program. When run, it displays the value
template <typename Tp> template <typename Tp>
Tp operator+(Tp const &lhs, Tp const &rhs) Tp operator+(Tp const &lhs, Tp const &rhs)
{ {
return static_cast<X>(12); return static_cast<Tp>(12);
}; };
int main() int main()