diff options
author | Bruce Mitchener <bruce.mitchener@gmail.com> | 2013-11-07 15:49:37 +0700 |
---|---|---|
committer | Bruce Mitchener <bruce.mitchener@gmail.com> | 2013-11-07 16:07:18 +0700 |
commit | 44af976a44bc194b985fdb880f99a7feff133b5a (patch) | |
tree | 400fb651d819c41e26b417d36a4315ec947fd387 /system/lib/libcxx/string.cpp | |
parent | 7f870cf9c357f6a1138ba612ace7d7249f85e250 (diff) |
Update libcxx to 194185, 2013-11-07.
This brings C++14 support.
Diffstat (limited to 'system/lib/libcxx/string.cpp')
-rw-r--r-- | system/lib/libcxx/string.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/system/lib/libcxx/string.cpp b/system/lib/libcxx/string.cpp index 5a869116..fde52129 100644 --- a/system/lib/libcxx/string.cpp +++ b/system/lib/libcxx/string.cpp @@ -7,6 +7,8 @@ // //===----------------------------------------------------------------------===// +#define _LIBCPP_EXTERN_TEMPLATE(...) extern template __VA_ARGS__; + #include "string" #include "cstdlib" #include "cwchar" @@ -89,7 +91,7 @@ inline int as_integer(const string& func, const string& s, size_t* idx, int base ) { - // Use long as no Stantard string to integer exists. + // Use long as no Standard string to integer exists. long r = as_integer_helper<long>( func, s, idx, base, strtol ); if (r < numeric_limits<int>::min() || numeric_limits<int>::max() < r) throw_from_string_out_of_range(func); |