X-Git-Url: http://www.andromeda.nl/gitweb/?a=blobdiff_plain;f=src%2FString.h;h=6369fa8489f19747b1ece63db152a1df304c49d2;hb=c3086c76f928785548579cf5548ba4e9bf05a1d2;hp=6182be5984aebfa35c99bf9bf3d3f4cab6426743;hpb=6c0e06ec3eb393cd2773cbb473053f2549975843;p=AXE.git diff --git a/src/String.h b/src/String.h index 6182be5..6369fa8 100644 --- a/src/String.h +++ b/src/String.h @@ -5,7 +5,7 @@ *********************** ** FILE NAME : String.h ** SYSTEM NAME : Andromeda X-Windows Encapsulation -** VERSION NUMBER : $Revision: 1.6 $ +** VERSION NUMBER : $Revision: 1.4 $ ** ** DESCRIPTION : Character String class definition ** @@ -17,16 +17,13 @@ ******************************** ** ORIGINAL AUTHOR : Arjen Baart - arjen@andromeda.nl ** CREATION DATE : Nov 17, 1995 -** LAST UPDATE : Nov 02, 2002 +** LAST UPDATE : Mar 31, 2010 ** MODIFICATIONS : **************************************************************************/ /***************************** $Log: String.h,v $ - Revision 1.6 2010-12-30 12:04:02 arjen - Added regex assignment operator - - Revision 1.4 2007-05-04 13:56:05 arjen + Revision 1.4 2007/05/04 13:56:05 arjen Added a copy contructor to the regex class. This prevents multiple frees in the destructor. Revision 1.3 2002/11/03 13:18:57 arjen @@ -41,7 +38,7 @@ *****************************/ -// static const char RCSID[] = "$Id: String.h,v 1.6 2010-12-30 12:04:02 arjen Exp $"; +// static const char RCSID[] = "$Id: String.h,v 1.4 2007/05/04 13:56:05 arjen Exp $"; #ifndef STRING_H #define STRING_H @@ -377,6 +374,8 @@ public: regex(const regex & reg); ~regex(); + regex& operator=(const regex &); + friend bool operator == (const String &s, const regex &r); friend bool operator == (const regex &r, const String &s); };