mirror of https://github.com/CGAL/cgal
Make FT typedef public
This way we no longer trigger a hard error in strict C++03. This is only a stop-gap solution. The actual issue is that the internal namespace is full with unrelated components and does not fulfill its purposee as an SFINAE barrier anymore. Fixes #129
This commit is contained in:
parent
27ac9b621a
commit
5f99e2da4e
|
|
@ -32,7 +32,6 @@ namespace CGAL {
|
|||
template < class R_ >
|
||||
class PointC3
|
||||
{
|
||||
typedef typename R_::FT FT;
|
||||
typedef typename R_::Vector_3 Vector_3;
|
||||
typedef typename R_::Point_3 Point_3;
|
||||
typedef typename R_::Aff_transformation_3 Aff_transformation_3;
|
||||
|
|
@ -43,6 +42,7 @@ class PointC3
|
|||
public:
|
||||
typedef typename Vector_3::Cartesian_const_iterator Cartesian_const_iterator;
|
||||
typedef R_ R;
|
||||
typedef typename R_::FT FT;
|
||||
|
||||
PointC3() {}
|
||||
|
||||
|
|
|
|||
|
|
@ -39,7 +39,6 @@ template <class R_>
|
|||
class Point_3 : public R_::Kernel_base::Point_3
|
||||
{
|
||||
typedef typename R_::RT RT;
|
||||
typedef typename R_::FT FT;
|
||||
typedef typename R_::Vector_3 Vector_3;
|
||||
typedef typename R_::Aff_transformation_3 Aff_transformation_3;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue