PIDeque doc

This commit is contained in:
Andrey
2022-04-18 19:10:01 +03:00
parent 35e68bcd0e
commit 8c6db321cf
2 changed files with 79 additions and 7 deletions

View File

@@ -69,7 +69,7 @@
//! The complexity (efficiency) of common operations on vectors is as follows:
//! - Random access - constant 𝓞(1)
//! - Insertion or removal of elements at the end - amortized constant 𝓞(1)
//! - Insertion or removal of elements - linear in the distance to the end of the vector 𝓞(n)
//! - Insertion or removal of elements - linear in the distance to the end of the array 𝓞(n)
//!
//! \~russian
//! Элементы хранятся непрерывно, а значит доступны не только через итераторы,
@@ -97,7 +97,7 @@
//! Сложность (эффективность) обычных операций над векторами следующая:
//! - Произвольный доступ — постоянная 𝓞(1)
//! - Вставка и удаление элементов в конце — амортизированная постоянная 𝓞(1)
//! - Вставка и удаление элементов — линейная по расстоянию до конца вектора 𝓞(n)
//! - Вставка и удаление элементов — линейная по расстоянию до конца массива 𝓞(n)
//!
//! \~\sa \a PIDeueue, \a PIMap
template <typename T>