fix PIVector and PIDeque typedefs

This commit is contained in:
Andrey
2022-04-22 18:44:58 +03:00
parent 99a4546775
commit cb4df7dc42
2 changed files with 12 additions and 0 deletions

View File

@@ -118,6 +118,12 @@ template <typename T>
class PIDeque { class PIDeque {
public: public:
typedef bool (*CompareFunc)(const T & , const T & ); typedef bool (*CompareFunc)(const T & , const T & );
typedef T value_type;
typedef T* pointer;
typedef const T* const_pointer;
typedef T& reference;
typedef const T& const_reference;
typedef size_t size_type;
//! \~english Constructs an empty array. //! \~english Constructs an empty array.
//! \~russian Создает пустой массив. //! \~russian Создает пустой массив.

View File

@@ -118,6 +118,12 @@ template <typename T>
class PIVector { class PIVector {
public: public:
typedef bool (*CompareFunc)(const T & , const T & ); typedef bool (*CompareFunc)(const T & , const T & );
typedef T value_type;
typedef T* pointer;
typedef const T* const_pointer;
typedef T& reference;
typedef const T& const_reference;
typedef size_t size_type;
//! \~english Constructs an empty array. //! \~english Constructs an empty array.
//! \~russian Создает пустой массив. //! \~russian Создает пустой массив.