diff --git a/TDS_3/include/CGAL/Triangulation_data_structure_3.h b/TDS_3/include/CGAL/Triangulation_data_structure_3.h index 29d4372c58d..b3927cf03ae 100644 --- a/TDS_3/include/CGAL/Triangulation_data_structure_3.h +++ b/TDS_3/include/CGAL/Triangulation_data_structure_3.h @@ -55,7 +55,7 @@ # include #endif -#include +#include namespace CGAL { @@ -122,23 +122,27 @@ public: // Cells // N.B.: Concurrent_compact_container requires TBB #ifdef CGAL_LINKED_WITH_TBB - typedef typename boost::mpl::if_c + typedef typename std::conditional < - boost::is_convertible::value, + std::is_convertible::value, Concurrent_compact_container >, Compact_container >::type Cell_range; # else + CGAL_static_assertion_msg + (!(std::is_convertible::value), + "In CGAL triangulations, `Parallel_tag` can only be used with the Intel TBB library. " + "Make TBB available in the build system and then define the macro `CGAL_LINKED_WITH_TBB`."); typedef Compact_container Cell_range; #endif // Vertices // N.B.: Concurrent_compact_container requires TBB #ifdef CGAL_LINKED_WITH_TBB - typedef typename boost::mpl::if_c + typedef typename std::conditional < - boost::is_convertible::value, + std::is_convertible::value, Concurrent_compact_container >, Compact_container >::type Vertex_range;