15 #ifndef INCLUDED_utility_vector1_HH
16 #define INCLUDED_utility_vector1_HH
41 template<
typename T,
typename A >
43 public vectorL< 1, T, A >
95 using super::capacity;
101 using super::get_allocator;
103 using super::max_size;
104 using super::operator [];
105 using super::pop_back;
106 using super::push_back;
109 using super::reserve;
134 template< s
size_type L_,
typename T_,
typename A_ >
150 template<
typename T_,
typename A_ >
173 super( num, value, alloc )
178 template<
typename InputIterator >
181 InputIterator
const beg,
182 InputIterator
const end,
185 super( beg, end, alloc )
212 template< s
size_type L_,
typename T_,
typename A_ >
217 super::assign( v.begin(), v.end() );
233 template<
typename T_,
typename A_ >
238 super::assign( v.begin(), v.end() );
247 if ( idx >
size() )
return 0;
268 #endif // INCLUDED_utility_vector1_HH
super::const_iterator const_iterator
super::reference reference
super::reverse_iterator reverse_iterator
::platform::SSize ssize_type
vector1: std::vector with 1-based indexing: bool specialization
vector1(InputIterator const beg, InputIterator const end, allocator_type const &alloc=allocator_type())
Iterator range constructor.
super::ConstPointer ConstPointer
super::index_type index_type
super::const_reverse_iterator const_reverse_iterator
void swap(vectorL &v)
swap( vectorL )
super::allocator_type Allocator
utility::keys::lookup::end< KeyType > const end
super::const_reference const_reference
vector1 & operator=(vector1 const &v)
Copy assignment.
super::const_reference ConstReference
super::allocator_type allocator_type
super::reverse_iterator ReverseIterator
virtual ~vector1()
Destructor.
super::size_type size_type
super::reference reference
super::reverse_iterator reverse_iterator
bool has_value(T const t) const
useful function – was commented out previously due, I think, to a conflict with has() in OptionKeys!...
vector1(std::vector< T_, A_ > const &v)
Assignable std::vector constructor.
super::const_iterator ConstIterator
super::ssize_type ssize_type
vector1(vectorL< L_, T_, A_ > const &v)
Assignable copy constructor.
super::difference_type difference_type
vector1(size_type const num, value_type const &value, allocator_type const &alloc=allocator_type())
Uniform value constructor.
super::difference_type difference_type
super::difference_type Difference
super::const_pointer ConstPointer
vector1(size_type const num)
Size constructor.
super::Difference Difference
vectorL: std::vector with L-based indexing
super::reference Reference
std::vector with 1-based indexing
super::ConstReference ConstReference
super::value_type value_type
super::size_type size_type
super::ReverseIterator ReverseIterator
super::Allocator Allocator
T distance(MathVector< T > const &VECTOR_A, MathVector< T > const &VECTOR_B)
super::const_iterator const_iterator
super::const_pointer const_pointer
super::value_type value_type
super::const_reference const_reference
int index(T const t) const
Find the index of an element. If not found then return 0;.
super::Reference Reference
vector1(allocator_type const &alloc=allocator_type())
Default constructor.
super::ConstReverseIterator ConstReverseIterator
vector1(super const &v)
std::vector constructor
const_reference at(index_type const i) const
vectorL.at( i ) const
utility::keys::lookup::begin< KeyType > const begin
vector1(vector1 const &v)
Copy constructor.
super::ConstIterator ConstIterator
vectorL & operator=(vectorL const &v)
Copy assignment.
super::const_reverse_iterator ConstReverseIterator
utility::vector1 forward declarations
super::const_pointer const_pointer
super::const_reverse_iterator const_reverse_iterator
super::allocator_type allocator_type