mirror of https://github.com/CGAL/cgal
Compile in C++03 and C++14
This commit is contained in:
parent
b1c2910b9e
commit
a3719c3628
|
|
@ -75,8 +75,8 @@ template<class Dim>
|
|||
struct Epick_d_help3
|
||||
: CGAL_BASE
|
||||
{
|
||||
constexpr Epick_d_help3(){}
|
||||
constexpr Epick_d_help3(int d):CGAL_BASE(d){}
|
||||
CGAL_CONSTEXPR Epick_d_help3(){}
|
||||
CGAL_CONSTEXPR Epick_d_help3(int d):CGAL_BASE(d){}
|
||||
};
|
||||
#undef CGAL_BASE
|
||||
#define CGAL_BASE \
|
||||
|
|
|
|||
|
|
@ -63,7 +63,7 @@ struct Cartesian_filter_K : public Base_,
|
|||
typedef Base_ Kernel_base;
|
||||
typedef AK_ AK;
|
||||
typedef EK_ EK;
|
||||
static_assert(internal::Do_not_store_kernel<AK>::value, "Only handle stateless kernels as AK");
|
||||
CGAL_static_assertion_msg(internal::Do_not_store_kernel<AK>::value, "Only handle stateless kernels as AK");
|
||||
AK approximate_kernel()const{return {};}
|
||||
typedef typename Store_kernel<EK_>::reference_type EK_rt;
|
||||
EK_rt exact_kernel()const{return this->Store_kernel<EK>::kernel();}
|
||||
|
|
|
|||
|
|
@ -88,8 +88,10 @@ namespace CGAL {
|
|||
struct typeset<H,T>::add<H,V> : typeset<H,T> {};
|
||||
struct typeset_all {
|
||||
typedef typeset_all type;
|
||||
template<class X> struct contains : public std::true_type {};
|
||||
template<class X> struct add : public typeset_all {};
|
||||
template<class X> struct contains : public boost::true_type {};
|
||||
template<class X> struct add {
|
||||
typedef typeset_all type;
|
||||
};
|
||||
};
|
||||
#endif
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue