15#include "RConfigure.h"
17#if defined(_MSVC_LANG)
18# define R__MSVC_LANG _MSVC_LANG
20# define R__MSVC_LANG 0
23#if defined(R__HAS_STD_STRING_VIEW) || R__MSVC_LANG >= 201703L || __cplusplus >= 201703L
29# if defined(R__HAS_STD_EXPERIMENTAL_STRING_VIEW)
30# include <experimental/string_view>
37 template<
class _CharT,
class _Traits = std::
char_traits<_CharT> >
53#ifndef R__HAS_STOD_STRING_VIEW
54 inline double stod(std::string_view str,
size_t *pos)
56 return std::stod(std::string(str.data(), str.size()),pos);
64#if !(defined(R__HAS_OP_EQUAL_PLUS_STRING_VIEW) || R__MSVC_LANG >= 201703L || __cplusplus >= 201703L)
69inline namespace __ROOT {
71inline std::string &
operator+=(std::string &left, std::string_view right)
73 return left.append(right.data(), right.size());
90 operator std::string_view()
const {
return std::string_view(
fData,
fLength); }
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t Float_t Float_t Float_t Int_t Int_t UInt_t UInt_t Rectangle_t Int_t Int_t Window_t TString Int_t GCValues_t GetPrimarySelectionOwner GetDisplay GetScreen GetColormap GetNativeEvent const char const char dpyName wid window const char font_name cursor keysym reg const char only_if_exist regb h Point_t winding char text const char depth char const char Int_t count const char ColorStruct_t color const char Pixmap_t Pixmap_t PictureAttributes_t attr const char char ret_data h unsigned char height h Atom_t Int_t ULong_t ULong_t unsigned char prop_list Atom_t Atom_t Atom_t Time_t UChar_t len
std::string & operator+=(std::string &left, const TString &right)
TStringView(const char *cstr, size_t len)
This file contains a specialised ROOT message handler to test for diagnostic in unit tests.