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 29 by douglas, 2004-07-17T19:21:04-07:00 vs.
Revision 30 by douglas, 2004-07-19T21:24:52-07:00

# Line 29 | Line 29 | public:
29          Stamp& operator-=(int days) { *this = *this - days; return *this; }
30   };
31  
32 + inline ext::String operator+(const Stamp& stamp, const ext::String& string)
33 + {
34 +        return ext::String(stamp) + string;
35 + }
36 +
37 + inline ext::String operator+(const ext::String& string, const Stamp& stamp)
38 + {
39 +        return string + ext::String(stamp);
40 + }
41 +
42   #endif // _Stamp_hpp_

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines