2
0
mirror of https://github.com/boostorg/python.git synced 2026-01-25 06:22:15 +00:00

Fixes from Christoph Ludwig <cludwig-at-cdc.informatik.tu-darmstadt.de>

[SVN r25571]
This commit is contained in:
Dave Abrahams
2004-10-05 14:35:31 +00:00
parent f99f1e187c
commit 0620462efb

View File

@@ -832,15 +832,15 @@ struct number
operator long() const { return x; }
number&amp; operator+=(number const&amp; rhs)
{ x += rhs }
number&amp; operator-=(number const&amp; rhs);
{ x -= rhs }
{ x += rhs; }
number&amp; operator-=(number const&amp; rhs)
{ x -= rhs; }
number&amp; operator*=(number const&amp; rhs)
{ x *= rhs }
number&amp; operator/=(number const&amp; rhs);
{ x /= rhs }
number&amp; operator%=(number const&amp; rhs);
{ x %= rhs }
{ x *= rhs; }
number&amp; operator/=(number const&amp; rhs)
{ x /= rhs; }
number&amp; operator%=(number const&amp; rhs)
{ x %= rhs; }
long x;
};
@@ -886,7 +886,7 @@ BOOST_PYTHON_MODULE(demo)
<p>Revised
<!--webbot bot="Timestamp" S-Type="EDITED" S-Format="%d %B, %Y" startspan -->
3 October, 2003
5 October, 2004
<!--webbot bot="Timestamp" endspan i-checksum="39359" -->
</p>