|
Boost Users : |
From: Bo Peng (ben.bob_at_[hidden])
Date: 2006-12-13 11:34:27
Dear boost users,
I am using Boost.MPI for a python module so there is no argc, argv
that can be provided to
boost::parallel::mpi::environment(int & argc, char ** & argv)
Because an environment object has to exist during the life time of the
module, I have to define a global variable in an awkward way:
int fake_argc = 0;
char * fake_argv = "";
char ** ptr_argv = &fake_argv;
boost::parallel::mpi::environment env(fake_argc, ptr_argv);
Can a default constructor be provided?
Bo
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