#include <string>
#include <cstdarg>
+#include <stdlib.h>
-#if HAVE_MC
+#if SIMGRID_HAVE_MC
#include <stdexcept>
#include <cstddef>
namespace simgrid {
namespace xbt {
-#if HAVE_MC
+#if SIMGRID_HAVE_MC
/** POD structure representation of a 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);
+
}
}