mirror of https://github.com/CGAL/cgal
complete move file
This commit is contained in:
parent
a98101aa75
commit
7e3aa09f2a
|
|
@ -26,7 +26,7 @@
|
|||
#include <CGAL/STL_Extension/internal/Has_features.h>
|
||||
#include <CGAL/Mesh_3/C3T3_helpers.h>
|
||||
#include <CGAL/type_traits.h>
|
||||
#include <CGAL/Mesh_3/internal/tuple_like_helpers.h>
|
||||
#include <CGAL/STL_Extension/internal/tuple_like_helpers.h>
|
||||
|
||||
#include <boost/mpl/has_xxx.hpp>
|
||||
#include <type_traits>
|
||||
|
|
@ -55,7 +55,7 @@ struct Push_to_initial_point {
|
|||
template <typename Initial_point_and_info>
|
||||
void operator()(const Initial_point_and_info& initial_pt) const {
|
||||
using T = CGAL::cpp20::remove_cvref_t<decltype(initial_pt)>;
|
||||
if constexpr (tuple_like_of_size_2<T>)
|
||||
if constexpr (CGAL::STL_Extension::internal::tuple_like_of_size_2<T>)
|
||||
{
|
||||
const auto& [pt, index] = initial_pt;
|
||||
const auto& cwp = c3t3_ptr->triangulation().geom_traits().construct_weighted_point_3_object();
|
||||
|
|
|
|||
|
|
@ -8,15 +8,13 @@
|
|||
//
|
||||
// Author(s) : Laurent Rineau
|
||||
|
||||
#ifndef CGAL_MESH_3_INTERNAL_TUPLE_LIKE_HELPERS_H
|
||||
#define CGAL_MESH_3_INTERNAL_TUPLE_LIKE_HELPERS_H
|
||||
|
||||
#include <CGAL/license/Mesh_3.h>
|
||||
#ifndef CGAL_STL_EXTENSION_INTERNAL_TUPLE_LIKE_HELPERS_H
|
||||
#define CGAL_STL_EXTENSION_INTERNAL_TUPLE_LIKE_HELPERS_H
|
||||
|
||||
#include <type_traits>
|
||||
#include <utility>
|
||||
|
||||
namespace CGAL::Mesh_3::internal {
|
||||
namespace CGAL::STL_Extension::internal {
|
||||
|
||||
template <typename, typename = void>
|
||||
constexpr bool has_tuple_size_v = false;
|
||||
|
|
@ -30,6 +28,6 @@ namespace CGAL::Mesh_3::internal {
|
|||
template <typename T>
|
||||
constexpr bool tuple_like_of_size_2<T, true> = (std::tuple_size_v<T> == 2);
|
||||
|
||||
} // end namespace CGAL::Mesh_3::internal
|
||||
} // end namespace CGAL::STL_Extension::internal
|
||||
|
||||
#endif // CGAL_MESH_3_INTERNAL_TUPLE_LIKE_HELPERS_H
|
||||
#endif // CGAL_STL_EXTENSION_INTERNAL_TUPLE_LIKE_HELPERS_H
|
||||
|
|
|
|||
Loading…
Reference in New Issue