26 #ifndef MU_PARSER_FIXES_H
27 #define MU_PARSER_FIXES_H
43 #ifdef __INTEL_COMPILER
48 #pragma warning(disable:981)
51 #pragma warning(disable:383)
56 #pragma warning(disable:1572)
68 #if defined(_MSC_VER) && _MSC_VER==1200
77 #define auto_ptr _my_auto_ptr
87 typedef ::size_t size_t;
108 inline size_t strlen(
const char *szMsg)
110 return ::strlen(szMsg);
120 inline int strncmp(
const char *
a,
const char *
b,
size_t len)
122 return ::strncmp(a,b,len);
129 return (a>b) ? a :
b;
136 return (a<b) ? a :
b;
149 typedef _Ty element_type;
151 explicit _my_auto_ptr(_Ty *_Ptr = 0)
155 _my_auto_ptr(_my_auto_ptr<_Ty>& _Right)
156 :_Myptr(_Right.release())
159 template<
class _Other>
160 operator _my_auto_ptr<_Other>()
162 return (_my_auto_ptr<_Other>(*
this));
165 template<
class _Other>
166 _my_auto_ptr<_Ty>& operator=(_my_auto_ptr<_Other>& _Right)
168 reset(_Right.release());
172 ~auto_ptr() {
delete _Myptr; }
173 _Ty&
operator*()
const {
return (*_Myptr); }
174 _Ty *operator->()
const {
return (&**
this); }
175 _Ty *
get()
const {
return (_Myptr); }
184 void reset(_Ty* _Ptr = 0)
196 #endif // Microsoft Visual Studio Version 6.0
198 #endif // include guard
Definition: mpreal.h:3066
const mpreal operator*(const mpreal &a, const mpreal &b)
Definition: mpreal.h:1177
const T1 &f1 return GTEST_2_TUPLE_() T(f0, f1)
#define max(a, b)
Definition: lda.h:53
const mpreal min(const mpreal &x, const mpreal &y)
Definition: mpreal.h:2675
FLOAT a(int j, FLOAT z)
Definition: y1.cc:86
FLOAT b(int j, FLOAT z)
Definition: y1.cc:79