is_Point_set_or_Range_or_Iterator<>::value -->

is_Point_set_or_Range_or_Iterator_v<>
This commit is contained in:
Sébastien Loriot 2022-06-10 09:55:18 +02:00
parent 91671dae03
commit 6dc6373af8
5 changed files with 23 additions and 23 deletions

View File

@ -60,8 +60,8 @@ bool write_3MF(const std::string& filename,
const std::vector<std::string>& names
#ifndef DOXYGEN_RUNNING
, std::enable_if_t<!
internal::is_Point_set_or_Range_or_Iterator<
typename boost::range_value<GraphRange>::type>::value >* = nullptr
internal::is_Point_set_or_Range_or_Iterator_v<
typename boost::range_value<GraphRange>::type>>* = nullptr
#endif
)
{

View File

@ -114,7 +114,7 @@ bool read_GOCAD(std::istream& is,
Graph& g,
const CGAL_NP_CLASS& np = parameters::default_values()
#ifndef DOXYGEN_RUNNING
, std::enable_if_t<!internal::is_Point_set_or_Range_or_Iterator<Graph>::value >* = nullptr
, std::enable_if_t<!internal::is_Point_set_or_Range_or_Iterator_v<Graph>>* = nullptr
#endif
)
{
@ -135,7 +135,7 @@ bool read_GOCAD(std::istream& is,
template <typename Graph, typename CGAL_NP_TEMPLATE_PARAMETERS>
bool read_GOCAD(std::istream& is, Graph& g, const CGAL_NP_CLASS& np = parameters::default_values(),
std::enable_if_t<!internal::is_Point_set_or_Range_or_Iterator<Graph>::value >* = nullptr)
std::enable_if_t<!internal::is_Point_set_or_Range_or_Iterator_v<Graph>>* = nullptr)
{
std::pair<std::string, std::string> dummy;
return read_GOCAD(is, dummy, g, np);
@ -188,7 +188,7 @@ bool read_GOCAD(const std::string& fname,
Graph& g,
const CGAL_NP_CLASS& np = parameters::default_values()
#ifndef DOXYGEN_RUNNING
, std::enable_if_t<!internal::is_Point_set_or_Range_or_Iterator<Graph>::value >* = nullptr
, std::enable_if_t<!internal::is_Point_set_or_Range_or_Iterator_v<Graph>>* = nullptr
#endif
)
{
@ -201,7 +201,7 @@ bool read_GOCAD(const std::string& fname,
template <typename Graph, typename CGAL_NP_TEMPLATE_PARAMETERS>
bool read_GOCAD(const std::string& fname, Graph& g, const CGAL_NP_CLASS& np = parameters::default_values(),
std::enable_if_t<!internal::is_Point_set_or_Range_or_Iterator<Graph>::value >* = nullptr)
std::enable_if_t<!internal::is_Point_set_or_Range_or_Iterator_v<Graph>>* = nullptr)
{
std::pair<std::string, std::string> dummy;
return read_GOCAD(fname, dummy, g, np);
@ -251,7 +251,7 @@ bool write_GOCAD(std::ostream& os,
const Graph& g,
const CGAL_NP_CLASS& np = parameters::default_values()
#ifndef DOXYGEN_RUNNING
, std::enable_if_t<!internal::is_Point_set_or_Range_or_Iterator<Graph>::value >* = nullptr
, std::enable_if_t<!internal::is_Point_set_or_Range_or_Iterator_v<Graph>>* = nullptr
#endif
)
{
@ -347,7 +347,7 @@ bool write_GOCAD(std::ostream& os,
const Graph& g,
const CGAL_NP_CLASS& np = parameters::default_values()
#ifndef DOXYGEN_RUNNING
, std::enable_if_t<!internal::is_Point_set_or_Range_or_Iterator<Graph>::value >* = nullptr
, std::enable_if_t<!internal::is_Point_set_or_Range_or_Iterator_v<Graph>>* = nullptr
#endif
)
{
@ -392,7 +392,7 @@ bool write_GOCAD(const std::string& fname,
const Graph& g,
const CGAL_NP_CLASS& np = parameters::default_values()
#ifndef DOXYGEN_RUNNING
, std::enable_if_t<!internal::is_Point_set_or_Range_or_Iterator<Graph>::value >* = nullptr
, std::enable_if_t<!internal::is_Point_set_or_Range_or_Iterator_v<Graph>>* = nullptr
#endif
)
{

View File

@ -109,7 +109,7 @@ bool read_OBJ(std::istream& is,
Graph& g,
const CGAL_NP_CLASS& np = parameters::default_values()
#ifndef DOXYGEN_RUNNING
, std::enable_if_t<!internal::is_Point_set_or_Range_or_Iterator<Graph>::value >* = nullptr
, std::enable_if_t<!internal::is_Point_set_or_Range_or_Iterator_v<Graph>>* = nullptr
#endif
)
{
@ -165,7 +165,7 @@ bool read_OBJ(const std::string& fname,
Graph& g,
const CGAL_NP_CLASS& np = parameters::default_values()
#ifndef DOXYGEN_RUNNING
, std::enable_if_t<!internal::is_Point_set_or_Range_or_Iterator<Graph>::value >* = nullptr
, std::enable_if_t<!internal::is_Point_set_or_Range_or_Iterator_v<Graph>>* = nullptr
#endif
)
{
@ -217,7 +217,7 @@ bool write_OBJ(std::ostream& os,
const Graph& g,
const CGAL_NP_CLASS& np = parameters::default_values()
#ifndef DOXYGEN_RUNNING
, std::enable_if_t<!internal::is_Point_set_or_Range_or_Iterator<Graph>::value >* = nullptr
, std::enable_if_t<!internal::is_Point_set_or_Range_or_Iterator_v<Graph>>* = nullptr
#endif
)
{
@ -263,7 +263,7 @@ bool write_OBJ(const std::string& fname,
const Graph& g,
const CGAL_NP_CLASS& np = parameters::default_values()
#ifndef DOXYGEN_RUNNING
, std::enable_if_t<!internal::is_Point_set_or_Range_or_Iterator<Graph>::value >* = nullptr
, std::enable_if_t<!internal::is_Point_set_or_Range_or_Iterator_v<Graph>>* = nullptr
#endif
)
{

View File

@ -153,7 +153,7 @@ bool read_OFF(std::istream& is,
Graph& g,
const CGAL_NP_CLASS& np = parameters::default_values()
#ifndef DOXYGEN_RUNNING
, std::enable_if_t<!internal::is_Point_set_or_Range_or_Iterator<Graph>::value >* = nullptr
, std::enable_if_t<!internal::is_Point_set_or_Range_or_Iterator_v<Graph>>* = nullptr
#endif
)
{
@ -237,7 +237,7 @@ bool read_OFF(const std::string& fname,
Graph& g,
const CGAL_NP_CLASS& np = parameters::default_values()
#ifndef DOXYGEN_RUNNING
, std::enable_if_t<!internal::is_Point_set_or_Range_or_Iterator<Graph>::value >* = nullptr
, std::enable_if_t<!internal::is_Point_set_or_Range_or_Iterator_v<Graph>>* = nullptr
#endif
)
{
@ -363,7 +363,7 @@ bool write_OFF(std::ostream& os,
const Graph& g,
const CGAL_NP_CLASS& np = parameters::default_values()
#ifndef DOXYGEN_RUNNING
, std::enable_if_t<!internal::is_Point_set_or_Range_or_Iterator<Graph>::value >* = nullptr
, std::enable_if_t<!internal::is_Point_set_or_Range_or_Iterator_v<Graph>>* = nullptr
#endif
)
{
@ -437,7 +437,7 @@ bool write_OFF(const std::string& fname,
const Graph& g,
const CGAL_NP_CLASS& np = parameters::default_values()
#ifndef DOXYGEN_RUNNING
, std::enable_if_t<!internal::is_Point_set_or_Range_or_Iterator<Graph>::value >* = nullptr
, std::enable_if_t<!internal::is_Point_set_or_Range_or_Iterator_v<Graph>>* = nullptr
#endif
)
{

View File

@ -134,7 +134,7 @@ bool read_PLY(std::istream& is,
Graph& g,
const CGAL_NP_CLASS& np = parameters::default_values()
#ifndef DOXYGEN_RUNNING
, std::enable_if_t<!internal::is_Point_set_or_Range_or_Iterator<Graph>::value >* = nullptr
, std::enable_if_t<!internal::is_Point_set_or_Range_or_Iterator_v<Graph>>* = nullptr
#endif
)
{
@ -209,7 +209,7 @@ bool read_PLY(const std::string& fname,
Graph& g,
const CGAL_NP_CLASS& np = parameters::default_values()
#ifndef DOXYGEN_RUNNING
, std::enable_if_t<!internal::is_Point_set_or_Range_or_Iterator<Graph>::value >* = nullptr
, std::enable_if_t<!internal::is_Point_set_or_Range_or_Iterator_v<Graph>>* = nullptr
#endif
)
{
@ -296,7 +296,7 @@ bool write_PLY(std::ostream& os,
const std::string& comments,
const CGAL_NP_CLASS& np = parameters::default_values()
#ifndef DOXYGEN_RUNNING
, std::enable_if_t<!internal::is_Point_set_or_Range_or_Iterator<Graph>::value >* = nullptr
, std::enable_if_t<!internal::is_Point_set_or_Range_or_Iterator_v<Graph>>* = nullptr
#endif
)
{
@ -419,7 +419,7 @@ bool write_PLY(std::ostream& os,
template <typename Graph, typename CGAL_NP_TEMPLATE_PARAMETERS>
bool write_PLY(std::ostream& os, const Graph& g, const CGAL_NP_CLASS& np = parameters::default_values(),
std::enable_if_t<!internal::is_Point_set_or_Range_or_Iterator<Graph>::value >* = nullptr)
std::enable_if_t<!internal::is_Point_set_or_Range_or_Iterator_v<Graph>>* = nullptr)
{
return write_PLY(os, g, std::string(), np);
}
@ -492,7 +492,7 @@ bool write_PLY(const std::string& fname,
const std::string& comments,
const CGAL_NP_CLASS& np = parameters::default_values()
#ifndef DOXYGEN_RUNNING
, std::enable_if_t<!internal::is_Point_set_or_Range_or_Iterator<Graph>::value >* = nullptr
, std::enable_if_t<!internal::is_Point_set_or_Range_or_Iterator_v<Graph>>* = nullptr
#endif
)
{
@ -516,7 +516,7 @@ bool write_PLY(const std::string& fname,
template <typename Graph, typename CGAL_NP_TEMPLATE_PARAMETERS>
bool write_PLY(const std::string& fname, const Graph& g, const CGAL_NP_CLASS& np = parameters::default_values(),
std::enable_if_t<!internal::is_Point_set_or_Range_or_Iterator<Graph>::value >* = nullptr)
std::enable_if_t<!internal::is_Point_set_or_Range_or_Iterator_v<Graph>>* = nullptr)
{
return write_PLY(fname, g, std::string(), np);
}