2
0
mirror of https://github.com/boostorg/bimap.git synced 2026-01-19 04:02:10 +00:00

Clang-cl says that friend class unqualified-id; is a Microsoft extension

This commit is contained in:
Peter Dimov
2023-02-23 10:10:22 +02:00
parent 03b3c60899
commit 2574e14e50
2 changed files with 8 additions and 8 deletions

View File

@@ -138,7 +138,7 @@ struct map_view_iterator :
);
}
private:
friend class iterator_core_access;
friend class boost::iterators::iterator_core_access;
BOOST_BIMAP_MAP_VIEW_ITERATOR_SERIALIZATION_SUPPORT
};
@@ -172,7 +172,7 @@ struct const_map_view_iterator :
return ::boost::bimaps::relation::support::pair_by<Tag>(*this->base());
}
private:
friend class iterator_core_access;
friend class boost::iterators::iterator_core_access;
BOOST_BIMAP_MAP_VIEW_ITERATOR_SERIALIZATION_SUPPORT
};
@@ -211,7 +211,7 @@ struct reverse_map_view_iterator :
);
}
private:
friend class iterator_core_access;
friend class boost::iterators::iterator_core_access;
BOOST_BIMAP_MAP_VIEW_ITERATOR_SERIALIZATION_SUPPORT
};
@@ -246,7 +246,7 @@ struct const_reverse_map_view_iterator :
return ::boost::bimaps::relation::support::pair_by<Tag>(*this->base());
}
private:
friend class iterator_core_access;
friend class boost::iterators::iterator_core_access;
BOOST_BIMAP_MAP_VIEW_ITERATOR_SERIALIZATION_SUPPORT
};
@@ -285,7 +285,7 @@ struct local_map_view_iterator :
);
}
private:
friend class iterator_core_access;
friend class boost::iterators::iterator_core_access;
BOOST_BIMAP_MAP_VIEW_ITERATOR_SERIALIZATION_SUPPORT
};
@@ -319,7 +319,7 @@ struct const_local_map_view_iterator :
return ::boost::bimaps::relation::support::pair_by<Tag>(*this->base());
}
private:
friend class iterator_core_access;
friend class boost::iterators::iterator_core_access;
BOOST_BIMAP_MAP_VIEW_ITERATOR_SERIALIZATION_SUPPORT
};

View File

@@ -84,7 +84,7 @@ struct set_view_iterator : public set_view_iterator_base<CoreIterator>::type
private:
friend class iterator_core_access;
friend class boost::iterators::iterator_core_access;
#ifndef BOOST_BIMAP_DISABLE_SERIALIZATION
@@ -164,7 +164,7 @@ struct const_set_view_iterator : public const_set_view_iterator_base<CoreIterato
private:
friend class iterator_core_access;
friend class boost::iterators::iterator_core_access;
#ifndef BOOST_BIMAP_DISABLE_SERIALIZATION