boost::is_const -> std::is_const

This commit is contained in:
Sébastien Loriot 2023-04-23 21:22:20 +02:00
parent a1b2dd014d
commit a04035879d
7 changed files with 8 additions and 11 deletions

View File

@ -15,7 +15,6 @@
#include <CGAL/property_map.h> #include <CGAL/property_map.h>
#include <CGAL/boost/graph/properties.h> #include <CGAL/boost/graph/properties.h>
#include <boost/type_traits/is_const.hpp>
#include <boost/mpl/if.hpp> #include <boost/mpl/if.hpp>
namespace CGAL{ namespace CGAL{

View File

@ -137,7 +137,6 @@
#include <boost/type_traits.hpp> #include <boost/type_traits.hpp>
#include <boost/type_traits/add_reference.hpp> #include <boost/type_traits/add_reference.hpp>
#include <boost/type_traits/is_base_and_derived.hpp> #include <boost/type_traits/is_base_and_derived.hpp>
#include <boost/type_traits/is_const.hpp>
#include <boost/type_traits/is_convertible.hpp> #include <boost/type_traits/is_convertible.hpp>
#include <boost/type_traits/is_reference.hpp> #include <boost/type_traits/is_reference.hpp>
#include <boost/utility.hpp> #include <boost/utility.hpp>

View File

@ -18,7 +18,6 @@
#include <CGAL/Polygon_mesh_processing/orientation.h> #include <CGAL/Polygon_mesh_processing/orientation.h>
#include <CGAL/property_map.h> #include <CGAL/property_map.h>
#include <boost/type_traits/is_const.hpp>
#include <boost/mpl/if.hpp> #include <boost/mpl/if.hpp>
#include <fstream> #include <fstream>
#include <sstream> #include <sstream>

View File

@ -51,7 +51,7 @@ struct Get_pmap_of_surface_mesh_ {
#define CGAL_PROPERTY_SURFACE_MESH_RETURN_TYPE(Tag) \ #define CGAL_PROPERTY_SURFACE_MESH_RETURN_TYPE(Tag) \
typename boost::lazy_disable_if< \ typename boost::lazy_disable_if< \
boost::is_const<P>, \ std::is_const<P>, \
Get_pmap_of_surface_mesh_<P, Tag > \ Get_pmap_of_surface_mesh_<P, Tag > \
>::type >::type

View File

@ -238,7 +238,7 @@ template<typename Point>
typename typename
boost::lazy_disable_if boost::lazy_disable_if
< <
boost::is_const<Point>, std::is_const<Point>,
internal::Get_vertex_point_map_for_Surface_mesh_return_type<Point> internal::Get_vertex_point_map_for_Surface_mesh_return_type<Point>
>::type >::type
get(CGAL::vertex_point_t, const CGAL::Surface_mesh<Point>& g) { get(CGAL::vertex_point_t, const CGAL::Surface_mesh<Point>& g) {

View File

@ -79,7 +79,7 @@ namespace CGAL {
template <typename P, typename I> template <typename P, typename I>
typename boost::lazy_disable_if< typename boost::lazy_disable_if<
boost::is_const<P>, std::is_const<P>,
Get_pmap_of_surface_mesh<P, CGAL::face_patch_id_t<I> > Get_pmap_of_surface_mesh<P, CGAL::face_patch_id_t<I> >
>::type >::type
inline get(CGAL::face_patch_id_t<I>, Surface_mesh<P> & smesh) inline get(CGAL::face_patch_id_t<I>, Surface_mesh<P> & smesh)
@ -91,7 +91,7 @@ inline get(CGAL::face_patch_id_t<I>, Surface_mesh<P> & smesh)
template <typename P, typename I> template <typename P, typename I>
typename boost::lazy_disable_if< typename boost::lazy_disable_if<
boost::is_const<P>, std::is_const<P>,
Get_pmap_of_surface_mesh<P, CGAL::face_patch_id_t<I> > Get_pmap_of_surface_mesh<P, CGAL::face_patch_id_t<I> >
>::type >::type
inline get(CGAL::face_patch_id_t<I>, const Surface_mesh<P> & smesh) inline get(CGAL::face_patch_id_t<I>, const Surface_mesh<P> & smesh)
@ -103,7 +103,7 @@ inline get(CGAL::face_patch_id_t<I>, const Surface_mesh<P> & smesh)
#define CGAL_PROPERTY_SURFACE_MESH_RETURN_TYPE(Tag) \ #define CGAL_PROPERTY_SURFACE_MESH_RETURN_TYPE(Tag) \
typename boost::lazy_disable_if< \ typename boost::lazy_disable_if< \
boost::is_const<P>, \ std::is_const<P>, \
Get_pmap_of_surface_mesh<P, Tag > \ Get_pmap_of_surface_mesh<P, Tag > \
>::type >::type
@ -153,7 +153,7 @@ inline get(CGAL::vertex_feature_degree_t, const Surface_mesh<P> & smesh)
template <typename P, typename I> template <typename P, typename I>
typename boost::lazy_disable_if< typename boost::lazy_disable_if<
boost::is_const<P>, std::is_const<P>,
Get_pmap_of_surface_mesh<P, CGAL::vertex_incident_patches_t<I> > Get_pmap_of_surface_mesh<P, CGAL::vertex_incident_patches_t<I> >
>::type >::type
inline get(CGAL::vertex_incident_patches_t<I>, Surface_mesh<P> & smesh) inline get(CGAL::vertex_incident_patches_t<I>, Surface_mesh<P> & smesh)
@ -164,7 +164,7 @@ typename boost::lazy_disable_if<
template <typename P, typename I> template <typename P, typename I>
typename boost::lazy_disable_if< typename boost::lazy_disable_if<
boost::is_const<P>, std::is_const<P>,
Get_pmap_of_surface_mesh<P, CGAL::vertex_incident_patches_t<I> > Get_pmap_of_surface_mesh<P, CGAL::vertex_incident_patches_t<I> >
>::type >::type
inline get(CGAL::vertex_incident_patches_t<I>, const Surface_mesh<P> & smesh) inline get(CGAL::vertex_incident_patches_t<I>, const Surface_mesh<P> & smesh)

View File

@ -59,7 +59,7 @@ namespace CGAL {
#define CGAL_PROPERTY_SURFACE_MESH_RETURN_TYPE(Tag) \ #define CGAL_PROPERTY_SURFACE_MESH_RETURN_TYPE(Tag) \
typename boost::lazy_disable_if< \ typename boost::lazy_disable_if< \
boost::is_const<P>, \ std::is_const<P>, \
Get_pmap_of_surface_mesh<P, Tag > \ Get_pmap_of_surface_mesh<P, Tag > \
>::type >::type