Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Move declarations.
authorArnaud Giersch <arnaud.giersch@univ-fcomte.fr>
Thu, 29 Oct 2020 21:40:30 +0000 (22:40 +0100)
committerArnaud Giersch <arnaud.giersch@univ-fcomte.fr>
Thu, 29 Oct 2020 21:41:37 +0000 (22:41 +0100)
include/xbt/string.hpp

index 99520e6..bd174b8 100644 (file)
 namespace simgrid {
 namespace xbt {
 
+/** Create a C++ string from a C-style format
+ *
+ * @ingroup XBT_str
+ */
+XBT_PUBLIC std::string string_printf(const char* fmt, ...);
+
+/** Create a C++ string from a C-style format
+ *
+ * @ingroup XBT_str
+ */
+XBT_PUBLIC std::string string_vprintf(const char* fmt, va_list ap);
+
 #if SIMGRID_HAVE_MC
 
 /** POD structure representation of a string
@@ -292,18 +304,6 @@ bool operator>=(std::string const& a, string const& b)
 typedef std::string string;
 
 #endif
-
-/** Create a C++ string from a C-style format
- *
- * @ingroup XBT_str
-*/
-XBT_PUBLIC std::string string_printf(const char* fmt, ...);
-
-/** Create a C++ string from a C-style format
- *
- * @ingroup XBT_str
-*/
-XBT_PUBLIC std::string string_vprintf(const char* fmt, va_list ap);
 }
 }