Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r63333 - trunk/boost/graph
From: jewillco_at_[hidden]
Date: 2010-06-25 20:42:35


Author: jewillco
Date: 2010-06-25 20:42:34 EDT (Fri, 25 Jun 2010)
New Revision: 63333
URL: http://svn.boost.org/trac/boost/changeset/63333

Log:
Added default constructors to some function objects
Text files modified:
   trunk/boost/graph/grid_graph.hpp | 8 ++++++++
   1 files changed, 8 insertions(+), 0 deletions(-)

Modified: trunk/boost/graph/grid_graph.hpp
==============================================================================
--- trunk/boost/graph/grid_graph.hpp (original)
+++ trunk/boost/graph/grid_graph.hpp 2010-06-25 20:42:34 EDT (Fri, 25 Jun 2010)
@@ -101,6 +101,8 @@
 
       typedef typename graph_traits<Graph>::vertex_descriptor result_type;
 
+ grid_graph_vertex_at() : m_graph(0) {}
+
       grid_graph_vertex_at(const Graph* graph) :
         m_graph(graph) { }
 
@@ -124,6 +126,8 @@
     public:
       typedef typename graph_traits<Graph>::edge_descriptor result_type;
 
+ grid_graph_out_edge_at() : m_vertex(), m_graph(0) {}
+
       grid_graph_out_edge_at(vertex_descriptor source_vertex,
                              const Graph* graph) :
         m_vertex(source_vertex),
@@ -150,6 +154,8 @@
     public:
       typedef typename graph_traits<Graph>::edge_descriptor result_type;
 
+ grid_graph_in_edge_at() : m_vertex(), m_graph(0) {}
+
       grid_graph_in_edge_at(vertex_descriptor target_vertex,
                             const Graph* graph) :
         m_vertex(target_vertex),
@@ -172,6 +178,8 @@
 
       typedef typename graph_traits<Graph>::edge_descriptor result_type;
 
+ grid_graph_edge_at() : m_graph(0) {}
+
       grid_graph_edge_at(const Graph* graph) :
         m_graph(graph) { }
 


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