Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Try to get rid of some old and weird way of doing things for fortran.
[simgrid.git] / include / xbt / string.hpp
index 2fcd61a..0c9221a 100644 (file)
@@ -11,6 +11,7 @@
 
 #include <string>
 #include <cstdarg>
+#include <stdlib.h>
 
 #if HAVE_MC
 
@@ -298,9 +299,18 @@ typedef std::string string;
 
 #endif
 
-std::string string_vprintf(const char *fmt, va_list ap);
+/** Create a C++ string from a C-style format
+ *
+ * @ingroup XBT_str
+*/
 std::string string_printf(const char *fmt, ...);
 
+/** Create a C++ string from a C-style format
+ *
+ * @ingroup XBT_str
+*/
+std::string string_vprintf(const char *fmt, va_list ap);
+
 }
 }