typename only for dependent nested types.

This commit is contained in:
Marc Glisse 2014-03-31 20:56:41 +02:00
parent 3db5931721
commit 5887acc1b4
3 changed files with 5 additions and 5 deletions

View File

@ -36,7 +36,7 @@ class Triangulation_ds_full_cell
typedef typename TDS::Maximal_dimension Maximal_dimension; typedef typename TDS::Maximal_dimension Maximal_dimension;
public: public:
typedef typename TDS Triangulation_data_structure; typedef TDS Triangulation_data_structure;
typedef typename TDS::Face Face; typedef typename TDS::Face Face;
typedef typename TDS::Vertex_handle Vertex_handle; /* Concept */ typedef typename TDS::Vertex_handle Vertex_handle; /* Concept */
typedef typename TDS::Vertex_const_handle Vertex_const_handle; typedef typename TDS::Vertex_const_handle Vertex_const_handle;
@ -288,13 +288,13 @@ class Triangulation_ds_full_cell<void, StoragePolicy>
{ {
public: public:
typedef internal::Triangulation::Dummy_TDS TDS; typedef internal::Triangulation::Dummy_TDS TDS;
typedef typename TDS Triangulation_data_structure; typedef TDS Triangulation_data_structure;
typedef TDS::Vertex_handle Vertex_handle; typedef TDS::Vertex_handle Vertex_handle;
typedef TDS::Vertex_const_handle Vertex_const_handle; typedef TDS::Vertex_const_handle Vertex_const_handle;
typedef TDS::Full_cell_handle Full_cell_handle; typedef TDS::Full_cell_handle Full_cell_handle;
typedef TDS::Full_cell_const_handle Full_cell_const_handle; typedef TDS::Full_cell_const_handle Full_cell_const_handle;
typedef TDS::Vertex_handle_const_iterator Vertex_handle_const_iterator; typedef TDS::Vertex_handle_const_iterator Vertex_handle_const_iterator;
typedef typename TDS::Full_cell_data TDS_data; typedef TDS::Full_cell_data TDS_data;
template <typename TDS2> template <typename TDS2>
struct Rebind_TDS struct Rebind_TDS
{ {

View File

@ -33,7 +33,7 @@ class Triangulation_ds_vertex
typedef Triangulation_ds_vertex<TDS> Self; typedef Triangulation_ds_vertex<TDS> Self;
public: public:
typedef typename TDS Triangulation_data_structure; typedef TDS Triangulation_data_structure;
typedef typename TDS::Full_cell_handle Full_cell_handle; /* Concept */ typedef typename TDS::Full_cell_handle Full_cell_handle; /* Concept */
template <typename TDS2> template <typename TDS2>

View File

@ -28,7 +28,7 @@ class Triangulation_face
{ {
typedef typename internal::Dimen_plus_one<typename TDS::Maximal_dimension>::type Dimen_plus; typedef typename internal::Dimen_plus_one<typename TDS::Maximal_dimension>::type Dimen_plus;
public: public:
typedef typename TDS Triangulation_data_structure; typedef TDS Triangulation_data_structure;
typedef typename TDS::Full_cell_handle Full_cell_handle; /* Concept */ typedef typename TDS::Full_cell_handle Full_cell_handle; /* Concept */
typedef typename TDS::Vertex_handle Vertex_handle; /* Concept */ typedef typename TDS::Vertex_handle Vertex_handle; /* Concept */
typedef internal::S_or_D_array<int, Dimen_plus> Indices; typedef internal::S_or_D_array<int, Dimen_plus> Indices;