Add an error if the class template Triangle_accessor is instantiated.

Only its specialization (partial or not) should be instantiated.
This commit is contained in:
Laurent Rineau 2011-03-23 11:42:49 +00:00
parent 50abba1f89
commit c6a63ce5f9
1 changed files with 5 additions and 1 deletions

View File

@ -29,7 +29,11 @@
namespace CGAL {
template <typename Polyhedron, typename K>
class Triangle_accessor_3 {};
class Triangle_accessor_3 {
// This class template should never be instantiated, but only its
// specializations.
typedef typename Polyhedron::Error_bad_match Error_bad_match;
};
template < class K,class Items,