- static int read(MPI_File fh, void *buf, int count,MPI_Datatype datatype, MPI_Status *status);
- static int read_shared(MPI_File fh, void *buf, int count,MPI_Datatype datatype, MPI_Status *status);
- static int read_ordered(MPI_File fh, void *buf, int count,MPI_Datatype datatype, MPI_Status *status);
- static int write(MPI_File fh, void *buf, int count,MPI_Datatype datatype, MPI_Status *status);
- static int write_shared(MPI_File fh, const void *buf, int count,MPI_Datatype datatype, MPI_Status *status);
- static int write_ordered(MPI_File fh, const void *buf, int count,MPI_Datatype datatype, MPI_Status *status);
- template <int (*T)(MPI_File, void *, int, MPI_Datatype, MPI_Status *)> int op_all(void *buf, int count,MPI_Datatype datatype, MPI_Status *status);
+ static int read(MPI_File fh, void* buf, int count, const Datatype* datatype, MPI_Status* status);
+ static int read_shared(MPI_File fh, void* buf, int count, const Datatype* datatype, MPI_Status* status);
+ static int read_ordered(MPI_File fh, void* buf, int count, const Datatype* datatype, MPI_Status* status);
+ static int write(MPI_File fh, void* buf, int count, const Datatype* datatype, MPI_Status* status);
+ static int write_shared(MPI_File fh, const void* buf, int count, const Datatype* datatype, MPI_Status* status);
+ static int write_ordered(MPI_File fh, const void* buf, int count, const Datatype* datatype, MPI_Status* status);
+ template <int (*T)(MPI_File, void*, int, const Datatype*, MPI_Status*)>
+ int op_all(void* buf, int count, const Datatype* datatype, MPI_Status* status);