40     using const_pointer   = 
const T*;
 
   42     using const_reference = 
const T&;
 
   43     using difference_type = std::ptrdiff_t;
 
   44     using size_type       = size_t;
 
   88     void assign(size_type nSideSize, const_reference data);
 
   95     bool reserve(size_type nSideSize);
 
  102     bool resize(size_type nSideSize);
 
  110     bool resize(size_type nSideSize, const_reference data);
 
  116     void fill(const_reference data);
 
  124     const_reference 
get(size_type nRow, size_type nCol) 
const noexcept;
 
  132     void set(size_type nRow, size_type nCol, const_reference data) noexcept;
 
  144     size_type 
capacity() 
const noexcept;
 
  158     static size_type _get_index(size_type nRow, size_type nCol) noexcept;
 
  165     static size_type _get_vector_size(size_type nSideSize) noexcept;
 
  168     pointer   m_pData          = 
nullptr;
 
  169     size_type m_nSideSize      = 0;
 
  170     size_type m_nSize          = 0;
 
  171     size_type m_nAllocatedSize = 0;
 
void free()
Clear vector and free memory.
 
bool resize(size_type nSideSize)
Resize triangular vector without filling with new value.
 
void assign(triangular_vector &&other) noexcept
Assigns new contents to the vector, moving from other vector.
 
bool reserve(size_type nSideSize)
Reserve memory for vector.
 
void set(size_type nRow, size_type nCol, const_reference data) noexcept
Set value on position.
 
size_type capacity() const noexcept
Get capacity.
 
const_reference get(size_type nRow, size_type nCol) const noexcept
Get value on position.
 
void fill(const_reference data)
Fill vector with value.
 
size_type size_side() const noexcept
Get matrix side size.