Added typename keyword

This commit is contained in:
Andreas Fabri 2003-09-29 20:58:52 +00:00
parent e9f92c168d
commit b456d88adc
2 changed files with 4 additions and 2 deletions

View File

@ -35,6 +35,7 @@ _test_cls_circle_new_2(const R& )
typedef typename R::Vector_2 Vector_2;
typedef typename R::Direction_2 Direction_2;
typedef typename R::Circle_2 Circle_2;
typedef typename R::Aff_transformation_2 Aff_transformation_2;
typename R::Construct_vector_2 construct_vector;
typename R::Construct_point_2 construct_point;
@ -133,7 +134,7 @@ _test_cls_circle_new_2(const R& )
std::cout << '.';
R::Aff_transformation_2
Aff_transformation_2
rotate1(CGAL::ROTATION,Direction_2(n11,n13),-n2,n12),
rotate2(CGAL::ROTATION,Direction_2(-n8, n9),-n2,n12),
rotate3(CGAL::ROTATION,Direction_2( n5,-n1),-n2,n12),

View File

@ -37,6 +37,7 @@ _test_cls_line_new_2(const R& )
typedef typename R::Segment_2 Segment_2;
typedef typename R::Line_2 Line_2;
typedef typename R::Ray_2 Ray_2;
typedef typename R::Aff_transformation_2 Aff_transformation_2;
typename R::Construct_point_2 construct_point;
typename R::Construct_vector_2 construct_vector;
@ -139,7 +140,7 @@ _test_cls_line_new_2(const R& )
assert( ld21.x_at_y( gnuFT(2) ) == gnuFT( 1 ) );
Direction_2 up( n0, n1 );
R::Aff_transformation_2 rot90(CGAL::ROTATION, up, n1, RT(100) );
Aff_transformation_2 rot90(CGAL::ROTATION, up, n1, RT(100) );
Line_2 l12perp1( l12.perpendicular( p1 ) );
Line_2 l21perp1( l21.perpendicular( p1 ) );
Line_2 labcperp( labc.perpendicular( labc.point(1) ) );