Boost logo

Boost Users :

Subject: [Boost-users] boost bind with const-references
From: Kraus Philipp (philipp.kraus_at_[hidden])
Date: 2010-11-27 14:44:41


Hello,

how I can use the boost::bind with two const reference parameter like:

boost::bind( &myclass::mymethod, this, p_env, p_com)

The signatur of the method is: void myclass::mymethod( const
mpi::environment&, const mpi::communicator& ) and mpi ist the
boost::mpi namespace

Thanks

Phil



Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net