From 064825b39cbb00f67e0ba720abe907877afa7a5c Mon Sep 17 00:00:00 2001 From: Andreas Fabri Date: Fri, 1 Mar 2013 17:05:44 +0100 Subject: [PATCH] remove insert operator --- .../include/CGAL/Polytope_distance_d.h | 34 +------------------ 1 file changed, 1 insertion(+), 33 deletions(-) diff --git a/Polytope_distance_d/include/CGAL/Polytope_distance_d.h b/Polytope_distance_d/include/CGAL/Polytope_distance_d.h index 6968330a34a..5eed9812674 100644 --- a/Polytope_distance_d/include/CGAL/Polytope_distance_d.h +++ b/Polytope_distance_d/include/CGAL/Polytope_distance_d.h @@ -740,16 +740,12 @@ private: // Function declarations // ===================== -// I/O operators +// output operator template < class Traits_ > std::ostream& operator << ( std::ostream& os, const Polytope_distance_d& poly_dist); -template < class Traits_ > -std::istream& -operator >> ( std::istream& is, - Polytope_distance_d& poly_dist); // ============================================================================ @@ -928,34 +924,6 @@ operator << ( std::ostream& os, return( os); } -// input operator -template < class Traits_ > -std::istream& -operator >> ( std::istream& is, - CGAL::Polytope_distance_d& poly_dist) -{ - using namespace std; - /* - switch ( CGAL::get_mode( is)) { - - case CGAL::IO::PRETTY: - cerr << endl; - cerr << "Stream must be in ascii or binary mode" << endl; - break; - - case CGAL::IO::ASCII: - case CGAL::IO::BINARY: - typedef CGAL::Polytope_distance_d::Point Point; - typedef istream_iterator Is_it; - poly_dist.set( Is_it( is), Is_it()); - break; - - default: - CGAL_optimisation_assertion_msg( false, "CGAL::IO::mode invalid!"); - break; } - */ - return( is); -} } //namespace CGAL