- Replace <strstream> by <sstream>.

- Remove Stefan's email.
This commit is contained in:
Sylvain Pion 2003-04-12 16:32:28 +00:00
parent 28388a9dfc
commit 64f9d5f78b
11 changed files with 22 additions and 27 deletions

View File

@ -1,4 +1,7 @@
1.14 (24 February 2002)
1.15 (12 April 2003)
- Replace <strstream> by <sstream>.
1.14 (24 February 2003)
- Filtered_kernel only takes one template parameter now.
1.13 (14 September 2002)

View File

@ -16,7 +16,7 @@
// revision_date : $Date$
// author(s) : Stefan Schirra
//
// coordinator : MPI, Saarbruecken (<Stefan.Schirra@mpi-sb.mpg.de>)
// coordinator : MPI, Saarbruecken
// ============================================================================
#include <CGAL/Homogeneous.h>

View File

@ -16,7 +16,7 @@
// revision_date : $Date$
// author(s) : Stefan Schirra
//
// coordinator : MPI, Saarbruecken (<Stefan.Schirra@mpi-sb.mpg.de>)
// coordinator : MPI, Saarbruecken
// ============================================================================
#include <CGAL/Homogeneous.h>

View File

@ -17,7 +17,7 @@
// author(s) : Stefan Schirra
//
//
// coordinator : MPI, Saarbruecken (<Stefan.Schirra@mpi-sb.mpg.de>)
// coordinator : MPI, Saarbruecken
// ============================================================================

View File

@ -17,7 +17,7 @@
// author(s) : Stefan Schirra
//
//
// coordinator : MPI, Saarbruecken (<Stefan.Schirra@mpi-sb.mpg.de>)
// coordinator : MPI, Saarbruecken
// ============================================================================
@ -26,8 +26,7 @@
#include <CGAL/Timer.h>
// #include <sstream> // Doesn't work with GCC < 2.95.3
#include <strstream>
#include <sstream>
template <class ForwardIterator1, class ForwardIterator2, class Traits>
void
@ -57,8 +56,7 @@ intersection_statistics( ForwardIterator1 first1, ForwardIterator1 last1,
watch.stop();
#if defined(CGAL_USE_CGAL_WINDOW)
// std::ostringstream OS;
std::ostrstream OS;
std::ostringstream OS;
OS << is_count << " intersection points found,\n";
OS << bl_count << " of them lie on both segments.\n";
OS << "Out of the " << 2*is_count << "\npoint-on-segment tests, \n" << ol_count;

View File

@ -17,14 +17,13 @@
// author(s) : Stefan Schirra
//
//
// coordinator : MPI, Saarbruecken (<Stefan.Schirra@mpi-sb.mpg.de>)
// coordinator : MPI, Saarbruecken
// ============================================================================
#include <CGAL/Interval_arithmetic.h>
// #include <sstream> // doesn't work with GCC 2.95.2
#include <strstream>
#include <sstream>
template <class ForwardIterator, class Traits>
void
@ -84,8 +83,7 @@ orientation_statistics_IA( ForwardIterator first, ForwardIterator last,
}
#if defined(CGAL_USE_CGAL_WINDOW)
// std::ostringstream OS;
std::ostrstream OS;
std::ostringstream OS;
OS << "Out of " << c << " orientation tests, " << c;
OS << std::ends;
s1 = OS.str();

View File

@ -16,7 +16,7 @@
// revision_date : $Date$
// author(s) : Stefan Schirra
//
// coordinator : MPI, Saarbruecken (<Stefan.Schirra@mpi-sb.mpg.de>)
// coordinator : MPI, Saarbruecken
// ============================================================================

View File

@ -16,7 +16,7 @@
// revision_date : $Date$
// author(s) : Stefan Schirra
//
// coordinator : MPI, Saarbruecken (<Stefan.Schirra@mpi-sb.mpg.de>)
// coordinator : MPI, Saarbruecken
// ============================================================================
#include <CGAL/Homogeneous.h>

View File

@ -16,7 +16,7 @@
// revision_date : $Date$
// author(s) : Stefan Schirra
//
// coordinator : MPI, Saarbruecken (<Stefan.Schirra@mpi-sb.mpg.de>)
// coordinator : MPI, Saarbruecken
// ============================================================================
#include <CGAL/Homogeneous.h>

View File

@ -17,7 +17,7 @@
// author(s) : Stefan Schirra
//
//
// coordinator : MPI, Saarbruecken (<Stefan.Schirra@mpi-sb.mpg.de>)
// coordinator : MPI, Saarbruecken
// ============================================================================
#include <CGAL/Homogeneous.h>
@ -30,8 +30,7 @@
#include <cmath>
#include <vector>
#include <algorithm>
// #include <sstream> // Doesn't work with GCC < 2.95.3
#include <strstream>
#include <sstream>
#include <CGAL/IO/Window_stream.h>
#include <CGAL/IO/Ostream_iterator.h>
#ifdef CGAL_USE_LEDA
@ -153,8 +152,7 @@ main()
str = leda_string("Before rotation, %2.2f%% ", 100.0* s/n );
str += trailer;
#else
// std::ostringstream OS;
std::ostrstream OS;
std::ostringstream OS;
OS << "Before rotation, " << 100.0* s/n << "% ";
OS << trailer;
OS << std::ends;
@ -177,8 +175,7 @@ main()
str = leda_string("After rotation, only %2.2f%% ", 100.0* s/n );
str += trailer;
#else
// std::ostringstream OS2;
std::ostrstream OS2;
std::ostringstream OS2;
OS2 << "After rotation, only " << 100.0* s/n << "% ";
OS2 << trailer;
OS2 << std::ends;
@ -206,8 +203,7 @@ main()
str = leda_string("%d different distances",
std::distance( D.begin(), D.end() ));
#else
// std::ostringstream OS3;
std::ostrstream OS3;
std::ostringstream OS3;
OS3 << std::distance( D.begin(), D.end() ) << " different distances";
OS3 << std::ends;
str = OS3.str();

View File

@ -16,7 +16,7 @@
// revision_date : $Date$
// author(s) : Stefan Schirra
//
// coordinator : MPI, Saarbruecken (<Stefan.Schirra@mpi-sb.mpg.de>)
// coordinator : MPI, Saarbruecken
// ============================================================================
#include <CGAL/Homogeneous.h>