mirror of https://github.com/CGAL/cgal
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:
parent
50abba1f89
commit
c6a63ce5f9
|
|
@ -29,7 +29,11 @@
|
||||||
namespace CGAL {
|
namespace CGAL {
|
||||||
|
|
||||||
template <typename Polyhedron, typename K>
|
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,
|
template < class K,class Items,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue