ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/zoe/trunk/Stamp.hpp
(Generate patch)

Comparing trunk/Stamp.hpp (file contents):
Revision 31 by douglas, 2004-07-20T00:11:56-07:00 vs.
Revision 33 by douglas, 2004-07-20T00:52:33-07:00

# Line 37 | Line 37 | public:
37          operator ext::String() const;
38          Stamp operator+(int seconds) const { return when + seconds; }
39          Stamp operator-(int seconds) const { return when - seconds; }
40 <        bool operator <(const Stamp& stamp) const { return when < stamp.when; }
40 >        bool operator<(const Stamp& stamp) const { return when < stamp.when; }
41   };
42  
43   inline ext::String operator+(const Stamp& stamp, const ext::String& string)
# Line 50 | Line 50 | inline ext::String operator+(const ext::
50          return string + ext::String(stamp);
51   }
52  
53 + inline std::ostream& operator<<(std::ostream& sout, const Stamp& stamp)
54 + {
55 +        return sout << ext::String(stamp);
56 + }
57 +
58   #endif // _Stamp_hpp_

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines