From f38c8e9f942ea50e7aaeb8d6cbbff0820ab3468a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matthias=20B=C3=A4sken?= Date: Thu, 9 Jan 2003 12:44:39 +0000 Subject: [PATCH] *** empty log message *** --- .../Kernel_23/include/CGAL/Kernel_archetype.h | 5 +++-- .../include/CGAL/concept_archetype_2.h | 18 ++++++++++++------ .../include/CGAL/concept_archetype_3.h | 6 ++++-- 3 files changed, 19 insertions(+), 10 deletions(-) diff --git a/Packages/Kernel_23/include/CGAL/Kernel_archetype.h b/Packages/Kernel_23/include/CGAL/Kernel_archetype.h index a77a7f9c1f1..bcea826ec61 100644 --- a/Packages/Kernel_23/include/CGAL/Kernel_archetype.h +++ b/Packages/Kernel_23/include/CGAL/Kernel_archetype.h @@ -10,7 +10,7 @@ // release : // release_date : // -// file : Test_kernel.h +// file : Kernel_archetype.h // package : Kernel_23 // maintainer : // revision : $Revision$ @@ -141,7 +141,8 @@ public: // functors and access functions ... // predicate ... -#define CGAL_Kernel_pred(Y,Z) typedef CGALca::Y Y; Y Z() const {return Y();} +#define CGAL_Kernel_pred(Y,Z) typedef CGALca::Y Y; \ +Y Z() const {return Y();} // accessor function ... #define CGAL_Kernel_cons(Y,Z) CGAL_Kernel_pred(Y,Z) diff --git a/Packages/Kernel_23/include/CGAL/concept_archetype_2.h b/Packages/Kernel_23/include/CGAL/concept_archetype_2.h index 435deec98d7..f548f3f7082 100644 --- a/Packages/Kernel_23/include/CGAL/concept_archetype_2.h +++ b/Packages/Kernel_23/include/CGAL/concept_archetype_2.h @@ -82,10 +82,12 @@ struct Test_point_2 { }; #if defined(CGAL_CONCEPT_ARCHETYPE_ALLOW_COMPARISONS) -inline bool operator==(const Test_point_2& obj1, const Test_point_2& obj2) +inline bool operator==(const Test_point_2& obj1, + const Test_point_2& obj2) { return true; } -inline bool operator!=(const Test_point_2& obj1, const Test_point_2& obj2) +inline bool operator!=(const Test_point_2& obj1, + const Test_point_2& obj2) { return true; } #endif @@ -177,10 +179,12 @@ struct Test_direction_2 { }; #if defined(CGAL_CONCEPT_ARCHETYPE_ALLOW_COMPARISONS) -inline bool operator==(const Test_direction_2& obj1, const Test_direction_2& obj2) +inline bool operator==(const Test_direction_2& obj1, + const Test_direction_2& obj2) { return true; } -inline bool operator!=(const Test_direction_2& obj1, const Test_direction_2& obj2) +inline bool operator!=(const Test_direction_2& obj1, + const Test_direction_2& obj2) { return true; } #endif @@ -196,10 +200,12 @@ struct Test_triangle_2 { }; #if defined(CGAL_CONCEPT_ARCHETYPE_ALLOW_COMPARISONS) -inline bool operator==(const Test_triangle_2& obj1, const Test_triangle_2& obj2) +inline bool operator==(const Test_triangle_2& obj1, + const Test_triangle_2& obj2) { return true; } -inline bool operator!=(const Test_triangle_2& obj1, const Test_triangle_2& obj2) +inline bool operator!=(const Test_triangle_2& obj1, + const Test_triangle_2& obj2) { return true; } #endif diff --git a/Packages/Kernel_23/include/CGAL/concept_archetype_3.h b/Packages/Kernel_23/include/CGAL/concept_archetype_3.h index b04e8483252..ef8c98e2df5 100644 --- a/Packages/Kernel_23/include/CGAL/concept_archetype_3.h +++ b/Packages/Kernel_23/include/CGAL/concept_archetype_3.h @@ -224,10 +224,12 @@ struct Test_triangle_3 { }; #if defined(CGAL_CONCEPT_ARCHETYPE_ALLOW_COMPARISONS) -inline bool operator==(const Test_triangle_3& obj1, const Test_triangle_3& obj2) +inline bool operator==(const Test_triangle_3& obj1, + const Test_triangle_3& obj2) { return true; } -inline bool operator!=(const Test_triangle_3& obj1, const Test_triangle_3& obj2) +inline bool operator!=(const Test_triangle_3& obj1, + const Test_triangle_3& obj2) { return true; } #endif