Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r86059 - in trunk/boost/graph: . detail
From: steveire_at_[hidden]
Date: 2013-09-30 11:55:18


Author: skelly
Date: 2013-09-30 11:55:18 EDT (Mon, 30 Sep 2013)
New Revision: 86059
URL: http://svn.boost.org/trac/boost/changeset/86059

Log:
Graph: Remove obsolete GCC version check.

Text files modified:
   trunk/boost/graph/detail/edge.hpp | 15 ---------------
   trunk/boost/graph/graph_concepts.hpp | 1 -
   2 files changed, 0 insertions(+), 16 deletions(-)

Modified: trunk/boost/graph/detail/edge.hpp
==============================================================================
--- trunk/boost/graph/detail/edge.hpp Mon Sep 30 11:55:02 2013 (r86058)
+++ trunk/boost/graph/detail/edge.hpp 2013-09-30 11:55:18 EDT (Mon, 30 Sep 2013) (r86059)
@@ -11,11 +11,7 @@
 #ifndef BOOST_GRAPH_DETAIL_EDGE_HPP
 #define BOOST_GRAPH_DETAIL_EDGE_HPP
 
-#if __GNUC__ < 3
-#include <iostream>
-#else
 #include <iosfwd>
-#endif
 
 namespace boost {
 
@@ -100,15 +96,6 @@
 } // namespace boost
 
 namespace std {
-
-#if __GNUC__ < 3
- template <class D, class V>
- std::ostream&
- operator<<(std::ostream& os, const boost::detail::edge_desc_impl<D,V>& e)
- {
- return os << "(" << e.m_source << "," << e.m_target << ")";
- }
-#else
   template <class Char, class Traits, class D, class V>
   std::basic_ostream<Char, Traits>&
   operator<<(std::basic_ostream<Char, Traits>& os,
@@ -116,8 +103,6 @@
   {
     return os << "(" << e.m_source << "," << e.m_target << ")";
   }
-#endif
-
 }
 
 

Modified: trunk/boost/graph/graph_concepts.hpp
==============================================================================
--- trunk/boost/graph/graph_concepts.hpp Mon Sep 30 11:55:02 2013 (r86058)
+++ trunk/boost/graph/graph_concepts.hpp 2013-09-30 11:55:18 EDT (Mon, 30 Sep 2013) (r86059)
@@ -38,7 +38,6 @@
 // It is needed in order to allow us to write using boost::vertices as
 // needed for ADL when using vector_as_graph below.
 #if !defined(BOOST_NO_ARGUMENT_DEPENDENT_LOOKUP) \
- && !BOOST_WORKAROUND(__GNUC__, <= 2) \
  && !BOOST_WORKAROUND(__BORLANDC__, BOOST_TESTED_AT(0x564))
 # define BOOST_VECTOR_AS_GRAPH_GRAPH_ADL_HACK
 #endif


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk