mirror of https://github.com/CGAL/cgal
boost::is_pointer -> std::is_pointer
This commit is contained in:
parent
d4d2225801
commit
a1b2dd014d
|
|
@ -18,7 +18,6 @@
|
|||
#define CGAL_TYPE_TRAITS_IS_ITERATOR_H
|
||||
|
||||
#include <boost/type_traits/is_convertible.hpp>
|
||||
#include <boost/type_traits/is_pointer.hpp>
|
||||
#include <boost/mpl/has_xxx.hpp>
|
||||
#include <boost/mpl/logical.hpp>
|
||||
|
||||
|
|
@ -44,7 +43,7 @@ struct is_iterator_
|
|||
has_difference_type<T>,
|
||||
has_pointer<T>,
|
||||
has_reference<T> >,
|
||||
boost::is_pointer<T> >
|
||||
std::is_pointer<T> >
|
||||
{ };
|
||||
|
||||
template <class T, class U, bool = is_iterator_<T>::value>
|
||||
|
|
|
|||
|
|
@ -26,8 +26,6 @@
|
|||
#include <CGAL/Dimension.h>
|
||||
#include <CGAL/number_type_config.h>
|
||||
|
||||
#include <boost/type_traits/is_pointer.hpp>
|
||||
|
||||
#include <CGAL/Kd_tree.h>
|
||||
#include <CGAL/Search_traits_2.h>
|
||||
#include <CGAL/Fuzzy_iso_box.h>
|
||||
|
|
@ -107,7 +105,7 @@ public:
|
|||
|
||||
template<class Traits_, class SAVED_OBJECT>
|
||||
class Multiple_kd_tree {
|
||||
CGAL_static_assertion_msg((boost::is_pointer<SAVED_OBJECT>::value), "SAVED_OBJECT is not a pointer.");
|
||||
CGAL_static_assertion_msg((std::is_pointer<SAVED_OBJECT>::value), "SAVED_OBJECT is not a pointer.");
|
||||
private:
|
||||
typedef Traits_ Traits;
|
||||
typedef typename Traits::FT NT;
|
||||
|
|
|
|||
Loading…
Reference in New Issue