Go to the documentation of this file.Go to the SVN repository for this file.
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)
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)
constexpr const tuple_element< _Index, ct_const_tuple< _Types... > >::type & get(const ct_const_tuple< _Types... > &_Tuple) noexcept
CVect2< NCBI_PROMOTE(int,U) > operator*(int v1, const CVect2< U > &v2)
int strncmp(const char *str1, const char *str2, size_t count)