mirror of
https://git.FreeBSD.org/ports.git
synced 2025-02-04 11:23:46 +00:00
38c0f86b8a
PR: 215076 Submitted by: m.ne@gmx.net (maintainer)
19 lines
648 B
C++
19 lines
648 B
C++
--- flower/include/std-string.hh.orig 2017-02-26 12:08:59 UTC
|
|
+++ flower/include/std-string.hh
|
|
@@ -38,6 +38,7 @@ using namespace std;
|
|
typedef size_t ssize;
|
|
#define NPOS string::npos
|
|
|
|
+#if _cplusplus <= 19971L
|
|
string to_string (const string&);
|
|
string to_string (char c, int n = 1);
|
|
string to_string (int i, char const *format = 0);
|
|
@@ -49,6 +50,7 @@ string to_string (unsigned);
|
|
string to_string (bool b);
|
|
string to_string (char const *format, ...)
|
|
__attribute__ ((format (printf, 1, 2)));
|
|
+#endif
|
|
|
|
string &replace_all (string *str, string const &find, string const &replace);
|
|
string &replace_all (string *str, char find, char replace);
|