Fixed proper specialization of Polygon_2 with a non-default container (used by the Polygon demo)

This commit is contained in:
Fernando Cacciola 2009-07-08 16:04:50 +00:00
parent 60da2e471e
commit fbbefdde2a
1 changed files with 4 additions and 4 deletions

View File

@ -35,12 +35,12 @@ template<class Poly>
inline typename Poly::const_iterator vertices_end ( Poly const& aPoly ) { return aPoly.end() ; }
template<class K>
inline typename Polygon_2<K>::Vertex_const_iterator vertices_begin ( Polygon_2<K> const& aPoly )
template<class K, class C>
inline typename Polygon_2<K,C>::Vertex_const_iterator vertices_begin ( Polygon_2<K,C> const& aPoly )
{ return aPoly.vertices_begin() ; }
template<class K>
inline typename Polygon_2<K>::Vertex_const_iterator vertices_end( Polygon_2<K> const& aPoly )
template<class K, class C>
inline typename Polygon_2<K,C>::Vertex_const_iterator vertices_end( Polygon_2<K,C> const& aPoly )
{ return aPoly.vertices_end() ; }
template<class Poly>