]> git.saurik.com Git - wxWidgets.git/blobdiff - interface/wx/hashset.h
Make storing non-trivial data in wxThreadSpecificInfo possible.
[wxWidgets.git] / interface / wx / hashset.h
index a3406431c74495d420263e02f6d278884d037fc9..dc5220347a78498b421330ee5f59187ae63d0bf2 100644 (file)
@@ -2,7 +2,6 @@
 // Name:        hashset.h
 // Purpose:     interface of wxHashSet
 // Author:      wxWidgets team
 // Name:        hashset.h
 // Purpose:     interface of wxHashSet
 // Author:      wxWidgets team
-// RCS-ID:      $Id$
 // Licence:     wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
 
 // Licence:     wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
 
         class MyClass { ... };
 
         // same, with MyClass* keys (only uses pointer equality!)
         class MyClass { ... };
 
         // same, with MyClass* keys (only uses pointer equality!)
-        WX_DECLARE_HASH_SET( MyClass*, ::wxPointerHash, ::wxPointerEqual, MySet1 );
+        WX_DECLARE_HASH_SET( MyClass*, wxPointerHash, wxPointerEqual, MySet1 );
         // same, with int keys
         // same, with int keys
-        WX_DECLARE_HASH_SET( int, ::wxIntegerHash, ::wxIntegerEqual, MySet2 );
+        WX_DECLARE_HASH_SET( int, wxIntegerHash, wxIntegerEqual, MySet2 );
         // declare a hash set with string keys
         // declare a hash set with string keys
-        WX_DECLARE_HASH_SET( wxString, ::wxStringHash, ::wxStringEqual, MySet3 );
+        WX_DECLARE_HASH_SET( wxString, wxStringHash, wxStringEqual, MySet3 );
 
         MySet1 h1;
         MySet2 h1;
 
         MySet1 h1;
         MySet2 h1;
@@ -70,8 +69,8 @@
 
     @code
         WX_DECLARE_HASH_SET( int,
 
     @code
         WX_DECLARE_HASH_SET( int,
-                            ::wxIntegerHash,
-                            ::wxIntegerEqual,
+                            wxIntegerHash,
+                            wxIntegerEqual,
                             MySet );
 
         // using an user-defined class for keys
                             MySet );
 
         // using an user-defined class for keys
         };
 
         WX_DECLARE_HASH_SET( MyKey,      // type of the keys
         };
 
         WX_DECLARE_HASH_SET( MyKey,      // type of the keys
-                            ::MyKeyHash,  // hasher
-                            ::MyKeyEqual, // key equality predicate
+                            MyKeyHash,  // hasher
+                            MyKeyEqual, // key equality predicate
                             CLASSNAME); // name of the class
     @endcode
 
                             CLASSNAME); // name of the class
     @endcode