Ignore:
Timestamp:
08/21/09 15:43:19 (4 years ago)
Author:
Tiago de Paula Peixoto <tiago@…>
Branches:
master, python3
Children:
a35d46
Parents:
a89e06
git-author:
Tiago de Paula Peixoto <tiago@…> (08/21/09 11:39:56)
git-committer:
Tiago de Paula Peixoto <tiago@…> (08/21/09 15:43:19)
Message:
Dump lambda::bind in favor of boost::bind

This is a large commit which replaces lambda::bind with boost::bind in
most parts of the code. This improves compilation time, and slightly
decreases compilation memory usage in some cases.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/graph/graph_properties.cc

    re984bf r7fb5d7  
    2121#include "graph_util.hh" 
    2222 
    23 #include <boost/lambda/bind.hpp> 
    2423#include <boost/mpl/for_each.hpp> 
    2524 
    2625using namespace std; 
    2726using namespace boost; 
    28 using namespace boost::lambda; 
    2927using namespace graph_tool; 
    3028 
     
    6260    bool found = false; 
    6361    mpl::for_each<writable_vertex_properties> 
    64         (lambda::bind<void>(shift_vertex_property(), _1, var(_mg), 
    65                             prop, index, var(found))); 
     62        (bind<void>(shift_vertex_property(), _1, ref(_mg), 
     63                    prop, index, ref(found))); 
    6664    if (!found) 
    6765        throw GraphException("invalid writable property map"); 
Note: See TracChangeset for help on using the changeset viewer.