diff --git a/include/dynamic-graph/pool.h b/include/dynamic-graph/pool.h
index 49536e956d0674c9ba38468ecd997ef4115fb6ed..6a9f11cc6d23d46838b7acc132b631ffc71acd56 100644
--- a/include/dynamic-graph/pool.h
+++ b/include/dynamic-graph/pool.h
@@ -134,6 +134,9 @@ namespace dynamicgraph
     PoolStorage () {}
     static PoolStorage* instance_;
   };
+
+  inline PoolStorage& g_pool() { return *PoolStorage::getInstance(); }
+
 }  // end of namespace dynamicgraph.
 
 #endif //! DYNAMIC_GRAPH_POOL_H