summaryrefslogtreecommitdiffstats
path: root/Source/kwsys/hash_set.hxx.in
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2005-04-14 03:04:23 (GMT)
committerBrad King <brad.king@kitware.com>2005-04-14 03:04:23 (GMT)
commit4fe07aa48137db08a862dfe9d741c5bc59ea3d4a (patch)
tree916359abc568c039ecbedeb985a2311578fafdfd /Source/kwsys/hash_set.hxx.in
parentcaac6c78b4dd2e193e5264edd809c18e0003cd94 (diff)
downloadCMake-4fe07aa48137db08a862dfe9d741c5bc59ea3d4a.zip
CMake-4fe07aa48137db08a862dfe9d741c5bc59ea3d4a.tar.gz
CMake-4fe07aa48137db08a862dfe9d741c5bc59ea3d4a.tar.bz2
COMP: Remove friend templates and always use template friends (possibly with <>). Needed to work-around Sun CC bug.
Diffstat (limited to 'Source/kwsys/hash_set.hxx.in')
-rw-r--r--Source/kwsys/hash_set.hxx.in12
1 files changed, 0 insertions, 12 deletions
diff --git a/Source/kwsys/hash_set.hxx.in b/Source/kwsys/hash_set.hxx.in
index f778e66..e627f5d 100644
--- a/Source/kwsys/hash_set.hxx.in
+++ b/Source/kwsys/hash_set.hxx.in
@@ -179,14 +179,8 @@ public:
bool empty() const { return _M_ht.empty(); }
void swap(hash_set& __hs) { _M_ht.swap(__hs._M_ht); }
-#if @KWSYS_NAMESPACE@_CXX_HAS_MEMBER_TEMPLATES
- template <class _Val, class _HF, class _EqK, class _Al>
- friend bool operator== (const hash_set<_Val, _HF, _EqK, _Al>&,
- const hash_set<_Val, _HF, _EqK, _Al>&);
-#else
friend bool operator==@KWSYS_NAMESPACE@_CXX_NULL_TEMPLATE_ARGS(const hash_set&,
const hash_set&);
-#endif
iterator begin() const { return _M_ht.begin(); }
iterator end() const { return _M_ht.end(); }
@@ -374,14 +368,8 @@ public:
bool empty() const { return _M_ht.empty(); }
void swap(hash_multiset& hs) { _M_ht.swap(hs._M_ht); }
-#if @KWSYS_NAMESPACE@_CXX_HAS_MEMBER_TEMPLATES
- template <class _Val, class _HF, class _EqK, class _Al>
- friend bool operator== (const hash_multiset<_Val, _HF, _EqK, _Al>&,
- const hash_multiset<_Val, _HF, _EqK, _Al>&);
-#else
friend bool operator==@KWSYS_NAMESPACE@_CXX_NULL_TEMPLATE_ARGS(const hash_multiset&,
const hash_multiset&);
-#endif
iterator begin() const { return _M_ht.begin(); }
iterator end() const { return _M_ht.end(); }