|
Aleph-w 7.10.0
A C++ Library for Data Structures and Algorithms
|
The items of an array, numbered from 1. More...
#include <tpl_arrayHeap.H>
Public Member Functions | |
| constexpr T & | operator[] (const size_t i) const noexcept |
| The item of a number. | |
Public Attributes | |
| T * | first |
| The item 1. | |
The items of an array, numbered from 1.
The sifts number the items of a heap from 1. An array whose first item is the item 1 has no entry 0, and a pointer to it may not be formed: this gives the items by their numbers instead.
| T | the type of the items. |
Definition at line 94 of file tpl_arrayHeap.H.
|
inlineconstexprnoexcept |
The item of a number.
| [in] | i | the number of the item, from 1. |
Definition at line 102 of file tpl_arrayHeap.H.
References Aleph::arrayheap_detail::From_One< T >::first.
| T* Aleph::arrayheap_detail::From_One< T >::first |
The item 1.
Definition at line 96 of file tpl_arrayHeap.H.
Referenced by Aleph::arrayheap_detail::From_One< T >::operator[]().