A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
add a description to s4u for the treated examples
[simgrid.git]
/
include
/
xbt
/
string.hpp
diff --git
a/include/xbt/string.hpp
b/include/xbt/string.hpp
index
9343ce6
..
912fe8d
100644
(file)
--- a/
include/xbt/string.hpp
+++ b/
include/xbt/string.hpp
@@
-8,15
+8,14
@@
#include <simgrid_config.h>
#include <simgrid_config.h>
-#include <string>
#include <cstdarg>
#include <cstdarg>
-#include <stdlib.h>
+#include <cstdlib>
+#include <string>
#if SIMGRID_HAVE_MC
#include <stdexcept>
#include <cstddef>
#if SIMGRID_HAVE_MC
#include <stdexcept>
#include <cstddef>
-#include <cstdlib>
#include <cstring>
#include <iterator>
#include <cstring>
#include <iterator>
@@
-165,10
+164,7
@@
public:
return data()[i];
}
// Conversion
return data()[i];
}
// Conversion
- operator std::string() const
- {
- return std::string(this->c_str(), this->size());
- }
+ operator std::string() const { return std::string(this->c_str(), this->size()); }
// Iterators
iterator begin() { return data(); }
// Iterators
iterator begin() { return data(); }