/[resiprocate]/main/resip/dum/DialogId.hxx
ViewVC logotype

Diff of /main/resip/dum/DialogId.hxx

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 5603 by sgodin, Fri Nov 4 03:51:35 2005 UTC revision 5609 by sgodin, Mon Nov 7 18:52:37 2005 UTC
# Line 26  Line 26 
26    
27        size_t hash() const;        size_t hash() const;
28    
 #if defined(__INTEL_COMPILER ) || (defined(WIN32) && defined(_MSC_VER) && (_MSC_VER >= 1310))  
       //friend size_t hash_value(const resip::DialogId& id);  
 #elif defined(HASH_MAP_NAMESPACE)  
       friend struct HASH_MAP_NAMESPACE::hash<resip::DialogId>;  // ?slg? is this even needed?  
 #endif  
   
29     private:     private:
30        friend std::ostream& operator<<(std::ostream&, const DialogId& id);        friend std::ostream& operator<<(std::ostream&, const DialogId& id);
31        DialogSetId mDialogSetId;        DialogSetId mDialogSetId;
# Line 39  Line 33 
33  };  };
34  }  }
35    
36  #if defined(__INTEL_COMPILER) || (defined(WIN32) && defined(_MSC_VER) && (_MSC_VER >= 1310))  HashValue(resip::DialogId);
 namespace HASH_MAP_NAMESPACE  
 {  
 size_t hash_value(const resip::DialogId& id);  
 }  
 #elif defined(HASH_MAP_NAMESPACE)  
 namespace HASH_MAP_NAMESPACE  
 {  
   
 template<>  
 struct hash<resip::DialogId>  
 {  
       size_t operator()(const resip::DialogId& id) const;  
 };  
   
 }  
 #endif  
   
37        
38  #endif  #endif
39    

Legend:
Removed from v.5603  
changed lines
  Added in v.5609

webmaster AT resiprocate DOT org
ViewVC Help
Powered by ViewVC 1.1.27