WIP pair -> array

This commit is contained in:
Andreas Fabri
2026-07-16 16:34:34 +01:00
parent 56c24f1adb
commit 186b20245a
9 changed files with 40 additions and 28 deletions
@@ -17,6 +17,7 @@
#ifndef CGAL_HOMOGENEOUS_FUNCTION_OBJECTS_H
#define CGAL_HOMOGENEOUS_FUNCTION_OBJECTS_H
#include <array>
#include <CGAL/Kernel/function_objects.h>
#include <CGAL/Cartesian/function_objects.h>
#include <CGAL/Kernel/Return_base_tag.h>
@@ -4348,11 +4349,11 @@ namespace HomogeneousKernelFunctors {
public:
std::pair<Orientation, Orientation>
std::array<Orientation,2>
operator()( const Point_3& p, const Point_3& q,
const Point_3& r, const Point_3& s, const Point_3& t) const
{
return std::make_pair( (*this)(p, q, r, s), (*this)(p, q, r, t) );
return { (*this)(p, q, r, s), (*this)(p, q, r, t) };
}
Orientation