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:
@@ -832,15 +832,15 @@ struct number
|
||||
operator long() const { return x; }
|
||||
|
||||
number& operator+=(number const& rhs)
|
||||
{ x += rhs }
|
||||
number& operator-=(number const& rhs);
|
||||
{ x -= rhs }
|
||||
{ x += rhs; }
|
||||
number& operator-=(number const& rhs)
|
||||
{ x -= rhs; }
|
||||
number& operator*=(number const& rhs)
|
||||
{ x *= rhs }
|
||||
number& operator/=(number const& rhs);
|
||||
{ x /= rhs }
|
||||
number& operator%=(number const& rhs);
|
||||
{ x %= rhs }
|
||||
{ x *= rhs; }
|
||||
number& operator/=(number const& rhs)
|
||||
{ x /= rhs; }
|
||||
number& operator%=(number const& 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>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user