Opened 14 years ago
Closed 14 years ago
#1899 closed Bugs (invalid)
Wrong example in documentation
| Reported by: | anonymous | Owned by: | Douglas Gregor | 
|---|---|---|---|
| Milestone: | Boost 1.36.0 | Component: | mpi | 
| Version: | Boost 1.35.0 | Severity: | Problem | 
| Keywords: | Cc: | hirsch@… | 
Description
In the documentation of MPI  Tutorial ->  Collective operations ->  Broadcast the first example, there must be a mpi:: before the broadcast function.
Change History (2)
comment:1 by , 14 years ago
comment:2 by , 14 years ago
| Resolution: | → invalid | 
|---|---|
| Status: | new → closed | 
Argument-dependent lookup will find the broadcast function in the namespace boost::mpi, because the communicator argument ("world") comes from namespace boost::mpi. So, we don't need to write mpi::broadcast explicitly; just "broadcast" is correct.
  Note:
 See   TracTickets
 for help on using tickets.
    

Location:
http://svn.boost.org/trac/boost/browser/trunk/libs/mpi/doc/mpi.qbk#L639