mirror of https://github.com/CGAL/cgal
Remove useless typedefs
This commit is contained in:
parent
8926a565d0
commit
cb848a4375
|
|
@ -1274,9 +1274,6 @@ operator>>(std::istream & is, Triangulation<TT, TDS> & tr)
|
|||
{
|
||||
typedef Triangulation<TT, TDS> T;
|
||||
typedef typename T::Vertex_handle Vertex_handle;
|
||||
typedef typename T::Vertex_iterator Vertex_iterator;
|
||||
typedef typename T::Full_cell_handle Full_cell_handle;
|
||||
typedef typename T::Full_cell_iterator Full_cell_iterator;
|
||||
|
||||
// read current dimension and number of vertices
|
||||
size_t n;
|
||||
|
|
@ -1330,8 +1327,6 @@ operator<<(std::ostream & os, const Triangulation<TT, TDS> & tr)
|
|||
typedef Triangulation<TT, TDS> T;
|
||||
typedef typename T::Vertex_const_handle Vertex_handle;
|
||||
typedef typename T::Vertex_const_iterator Vertex_iterator;
|
||||
typedef typename T::Full_cell_const_handle Full_cell_handle;
|
||||
typedef typename T::Full_cell_const_iterator Full_cell_iterator;
|
||||
|
||||
// outputs dimensions and number of vertices
|
||||
size_t n = tr.number_of_vertices();
|
||||
|
|
|
|||
|
|
@ -1458,9 +1458,6 @@ operator>>(std::istream & is, Triangulation_data_structure<Dimen, Vb, Fcb> & tr)
|
|||
{
|
||||
typedef Triangulation_data_structure<Dimen, Vb, Fcb> TDS;
|
||||
typedef typename TDS::Vertex_handle Vertex_handle;
|
||||
typedef typename TDS::Vertex_iterator Vertex_iterator;
|
||||
typedef typename TDS::Full_cell_handle Full_cell_handle;
|
||||
typedef typename TDS::Full_cell_iterator Full_cell_iterator;
|
||||
|
||||
// read current dimension and number of vertices
|
||||
size_t n;
|
||||
|
|
@ -1512,8 +1509,6 @@ operator<<(std::ostream & os, const Triangulation_data_structure<Dimen, Vb, Fcb>
|
|||
typedef Triangulation_data_structure<Dimen, Vb, Fcb> TDS;
|
||||
typedef typename TDS::Vertex_const_handle Vertex_handle;
|
||||
typedef typename TDS::Vertex_const_iterator Vertex_iterator;
|
||||
typedef typename TDS::Full_cell_const_handle Full_cell_handle;
|
||||
typedef typename TDS::Full_cell_const_iterator Full_cell_iterator;
|
||||
|
||||
// outputs dimension and number of vertices
|
||||
size_t n = tr.number_of_vertices();
|
||||
|
|
|
|||
|
|
@ -19,14 +19,9 @@ void test(const int d, const string & type, const int N)
|
|||
// we must write 'typename' below, because we are in a template-function,
|
||||
// so the parser has no way to know that DC contains sub-types, before
|
||||
// instanciating the function.
|
||||
typedef typename DC::Vertex Vertex;
|
||||
typedef typename DC::Vertex_handle Vertex_handle;
|
||||
typedef typename DC::Full_cell Full_cell;
|
||||
typedef typename DC::Full_cell_handle Full_cell_handle;
|
||||
typedef typename DC::Facet Facet;
|
||||
typedef typename DC::Face Face;
|
||||
typedef typename DC::Point Point;
|
||||
typedef typename DC::Geom_traits::RT RT;
|
||||
typedef typename DC::Finite_full_cell_const_iterator Finite_full_cell_const_iterator;
|
||||
typedef typename DC::Finite_vertex_iterator Finite_vertex_iterator;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue