Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Update all our XML files + next XML version will be 4.1, not 5
[simgrid.git] / src / smpi / smpi_keyvals.hpp
index 7f461ba..c302a55 100644 (file)
 #include <unordered_map>
 #include <xbt/ex.hpp>
 
-namespace simgrid{
-namespace smpi{
-
-
 typedef struct smpi_delete_fn{
   MPI_Comm_delete_attr_function          *comm_delete_fn;
   MPI_Type_delete_attr_function          *type_delete_fn;
@@ -32,8 +28,12 @@ typedef struct s_smpi_key_elem {
   smpi_delete_fn delete_fn;
   int refcount;
 } s_smpi_mpi_key_elem_t; 
+
 typedef struct s_smpi_key_elem *smpi_key_elem;
 
+namespace simgrid{
+namespace smpi{
+
 class Keyval{
   private:
     std::unordered_map<int, void*> attributes_;