15 #include "RConfigure.h" 17 #ifdef R__HAS_STD_STRING_VIEW 19 #include <string_view> 23 # if defined(R__HAS_STD_EXPERIMENTAL_STRING_VIEW) 24 # include <experimental/string_view> 31 template<
class _CharT,
class _Traits = std::
char_traits<_CharT> >
47 #ifndef R__HAS_STOD_STRING_VIEW 48 inline double stod(std::string_view str,
size_t *pos)
50 return std::stod(std::string(str.data(), str.size()),pos);
56 #endif // ifdef else R__HAS_STD_STRING_VIEW 58 #ifndef R__HAS_OP_EQUAL_PLUS_STRING_VIEW 63 inline namespace __ROOT {
65 inline std::string &
operator+=(std::string &left, std::string_view right)
67 return left.append(right.data(), right.size());
73 #endif // ifndef R__HAS_OP_EQUAL_PLUS_STRING_VIEW 88 #endif // RStringView_H
tbb::task_arena is an alias of tbb::interface7::task_arena, which doesn't allow to forward declare tb...
TStringView(const char *cstr, size_t len)
basic_string_view< char > string_view
basic_string_view< wchar_t > wstring_view
basic_string_view< char32_t > u32string_view
basic_string_view< char16_t > u16string_view
std::string & operator+=(std::string &left, const TString &right)