- C3d aggiornamento delle librerie.
This commit is contained in:
Dario Sassi
2020-09-14 16:42:31 +00:00
parent 555eae9594
commit e8f0fa2d27
332 changed files with 59308 additions and 52918 deletions
+11 -11
View File
@@ -61,7 +61,7 @@ private:
// СМВ К15 MVS 2012
private:
TPointerBase( const TPointerBase<T> & other );
#ifdef STANDARD_CPP11_RVALUE_REFERENCES
#ifdef C3D_STANDARD_CXX_11_PARTIAL
public:
TPointerBase( TPointerBase<T> && _Right ): P( _Right.P ) { _Right.P = nullptr; }
TPointerBase<T> & operator = ( TPointerBase<T> && _Right )
@@ -70,7 +70,7 @@ public:
{ P = _Right.P; _Right.P = nullptr; }
return *this;
}
#endif // STANDARD_CPP11_RVALUE_REFERENCES
#endif // C3D_STANDARD_CXX_11_PARTIAL
};
@@ -104,7 +104,7 @@ public:
return *this;
}
T * operator ->() { return TPointerBase<T>::P; } // Could throw exception if P==0
const T * operator ->() const { return TPointerBase<T>::P; } // Could throw exception if P==0
const T * operator ->() const { return TPointerBase<T>::P; } // Could throw exception if P==0
// СМВ К15 MVS 2012
#ifndef __MOBILE_VERSION__
@@ -112,7 +112,7 @@ private:
#endif // __MOBILE_VERSION__
TPointer( const TPointer<T> & other );
#ifdef STANDARD_CPP11_RVALUE_REFERENCES
#ifdef C3D_STANDARD_CXX_11_PARTIAL
public:
TPointer( TPointer<T> && _Right )
: TPointerBase<T>( std::move(_Right) )
@@ -127,7 +127,7 @@ public:
}
return *this;
}
#endif // STANDARD_CPP11_RVALUE_REFERENCES
#endif // C3D_STANDARD_CXX_11_PARTIAL
};
@@ -173,7 +173,7 @@ public:
private:
TOwnPointer( const TOwnPointer<T> & other );
TOwnPointer<T> & operator = ( const TOwnPointer<T> & _Right );
#ifdef STANDARD_CPP11_RVALUE_REFERENCES
#ifdef C3D_STANDARD_CXX_11_PARTIAL
public:
TOwnPointer( TOwnPointer<T> && _Right )
: TPointerBase<T>( std::move(_Right) )
@@ -191,7 +191,7 @@ public:
}
return *this;
}
#endif // STANDARD_CPP11_RVALUE_REFERENCES
#endif // C3D_STANDARD_CXX_11_PARTIAL
};
@@ -231,7 +231,7 @@ public:
// СМВ К15 MVS 2012
//private: // g++4.7 KUbuntu
TAPointer( const TAPointer<T> & other );
#ifdef STANDARD_CPP11_RVALUE_REFERENCES
#ifdef C3D_STANDARD_CXX_11_PARTIAL
public:
TAPointer(TAPointer<T> && _Right)
: TPointerBase<T>( std::move(_Right) )
@@ -246,7 +246,7 @@ public:
}
return *this;
}
#endif // STANDARD_CPP11_RVALUE_REFERENCES
#endif // C3D_STANDARD_CXX_11_PARTIAL
};
@@ -273,7 +273,7 @@ public:
char * operator = ( char src[] ) { delete[] P; return P = src; }
char * operator = ( const TPointer<char> & src ) { delete[] P; return P = src.P; }
char & operator []( size_t i ) { return P[i]; }
#ifdef STANDARD_CPP11_RVALUE_REFERENCES
#ifdef C3D_STANDARD_CXX_11_PARTIAL
public:
TPointer( TPointer<char> && _Right )
: TPointerBase<char>( std::move(_Right) )
@@ -288,7 +288,7 @@ public:
}
return *this;
}
#endif // STANDARD_CPP11_RVALUE_REFERENCES
#endif // C3D_STANDARD_CXX_11_PARTIAL
};